Links
acts_as_commentable
Categories
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) |
| Tags |
acts_as_commentable arun comment Restful
|
| Rating | (59 votes) |
| Owner | Juixe |
| Created | 26 June 2006 |
Comments
-
No tests?
-
Does not work with rails 2.x
-
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?
-
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.

