So does this mean that Nokogiri is required?  That'd be fine because  
it's already loaded as a gem.  Does it also have to be configured?   
What is going on here?  Why was Sanitize added?  Is this a problem  
using a modern version of comments with 0.8.1?   Maybe I installed  
improperly?



On Jan 26, 2010, at 12:20 PM, Steven Southard wrote:

>
> I'm trying to use comments with radiant 0.8.1 and I get error when I
> post a comment.
>
> Not sure how to fix this:
>
>
>
> Processing CommentsController#create (for 70.184.255.186 at 2010-01-26
> 18:11:07) [POST]
>   Parameters: {"submit"=>"Save Comment", "url"=>["phxated", "a-few-
> notes-about-the-arizona-republic"], "action"=>"create",
> "controller"=>"comments", "comment"=>{"filter_id"=>"Markdown",
> "author"=>"steven Southard",
> "valid_spam_answer"=>"c395246f710b0e2c86b7ed82f7f56ce3",
> "content"=>"testing", "author_email"=>"stevensouth...@mac.com",
> "spam_answer"=>"thursday", "author_url"=>""}}
>
> NameError (uninitialized constant Nokogiri::HTML::DocumentFragment):
>   sanitize (1.1.0) [v] lib/sanitize.rb:59:in `clean!'
>   sanitize (1.1.0) [v] lib/sanitize.rb:53:in `clean'
>   sanitize (1.1.0) [v] lib/sanitize.rb:147:in `clean'
>   vendor/extensions/comments/app/models/comment.rb:82:in  
> `apply_filter'
>   vendor/extensions/comments/app/controllers/comments_controller.rb:
> 18:in `create'
>   vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:19:in `process'
>
> Rendering /users/home/stevenso/domains/phxated.com/radiant/public/
> 500.html (500 Internal Server Error)
> _______________________________________________
> Radiant mailing list
> Post: Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> Radiant: http://radiantcms.org
> Extensions: http://ext.radiantcms.org

_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to