Agile Web Development

Build it. Launch it. Love it.

acts_as_commentable

Adds acts_as_commentable functionality to ActiveRecord models, which allows you to post comments (or think of them as notes, definitions, descriptions, etc.) to model instances.

Vitals

Home http://www.juixe.com/techknow/index.php/2006/06/18/acts-as-commentable-plugin/
Repository http://juixe.com/svn/acts_as_commentable/
License Rails' (MIT)
Rating (64 votes)
Owner Juixe
Created 26 June 2006

Comments

  • Avatar
    Wolfram Arnold
    11 August 2008

    No tests?

  • MX
    13 October 2008

    Does not work with rails 2.x

  • PT
    9 November 2008

    I'm a rails 2.x user and i get the following exception when i try to view the comments of my commentable **after the first time** (i.e. when refreshing the page):

    vendor/rails/activerecord/lib/active_record/attribute_methods.rb:142:in `create_time_zone_conversion_attribute?'
    vendor/rails/activerecord/lib/active_record/attribute_methods.rb:75:in `define_attribute_methods'
    vendor/rails/activerecord/lib/active_record/attribute_methods.rb:71:in `each'
    vendor/rails/activerecord/lib/active_record/attribute_methods.rb:71:in `define_attribute_methods'
    vendor/rails/activerecord/lib/active_record/attribute_methods.rb:350:in `respond_to?'

    Any ideas?

  • Avatar
    25 December 2008

    It works just fine in rails 2.1.1, rails 2.0.2 and rails 2.1.0. Don't know what MX is talking about. Haven't tested any others.

Add a comment