This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'nokogiri' | |
| t = ('<div class="listing"> | |
| <div class="row"> | |
| <span class="left">Title:</span> | |
| <span class="right">The Well-Grounded Rubyist</span> | |
| </div> | |
| <div class="row"> | |
| <span class="left">Author:</span> | |
| <span class="right">David A. Black</span> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sass::SyntaxError in Static_pages#home | |
| Showing /home/gen/upwork/dunno/globalagritrends.com.code (1)/app/views/layouts/application.html.haml where line #12 raised: | |
| ".content table" failed to @extend ".table". | |
| The selector ".table" was not found. | |
| Use "@extend .table !optional" if the extend should be able to fail. | |
| (in /home/gen/upwork/dunno/globalagritrends.com.code (1)/app/assets/stylesheets/layout.css.scss.erb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def comment | |
| @comment = @post.comments.create(comment_params) | |
| @comment[:state]= "approved" | |
| @comment[:spam]= false | |
| if @comment.valid? | |
| if Comment::Moderation.enabled? or @comment.ham? | |
| begin | |
| CommentMailer.notification(@comment, request).deliver_now |
NewerOlder