Oh you're so smart. Someone might put a note saying only sanitize 1.0.8 'cuz 1.1.0 does not work.
Steven On Jan 27, 2010, at 4:07 PM, Jim Gay wrote: > Try down grading to the 1.0.8 gem of sanitize > http://github.com/rgrove/sanitize/blob/master/HISTORY#L26-33 > > > > On Jan 27, 2010, at 4:21 PM, Steven Southard wrote: > >> I had put that in there already but it didn't make any difference. I >> tried removing comments and reinstalling and that didn't help either. >> I'm using sanitize 1.1.0 I doubt that has much to do with the issue. >> Google was little help. So everyone else just got it up and running >> fine, I'm the only one? >> >> >> On Jan 27, 2010, at 1:24 PM, Jim Gay wrote: >> >>> I'll try it out when I have time, but can you try adding >>> >>> config.gem 'sanitize' >>> >>> to your environment. >>> >>> On Jan 27, 2010, at 2:21 PM, Steven Southard wrote: >>> >>>> It is a new build not a upgrade. I'm not sure what might have gone >>>> wrong. I already had that file so initialize didn't do anything >>>> new. >>>> >>>> >>>> On Jan 27, 2010, at 8:41 AM, Jim Gay wrote: >>>> >>>>> I haven't had time to look into this, but sanitize was added to >>>>> help >>>>> clean up the content of comments. >>>>> If you've upgraded from an earlier release, try also running >>>>> >>>>> rake radiant:extensions:comments:initialize >>>>> >>>>> This will add an initializer for you at config/initializers/ >>>>> sanitizer.rb >>>>> >>>>> Did you recently upgrade or is this a new installation of the >>>>> extension? >>>>> >>>>> >>>>> On Jan 27, 2010, at 2:19 AM, Steven Southard wrote: >>>>> >>>>>> 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"=>"[email protected]", >>>>>>> "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) >>>>> >>>>> >>>>> Jim Gay >>>>> http://www.saturnflyer.com >>> _______________________________________________ >>> Radiant mailing list >>> Post: [email protected] >>> 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: [email protected] >> 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: [email protected] > 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: [email protected] 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
