laurynasl-sunflower-comments 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sunflower-comments.rb +1 -1
- metadata +1 -1
data/lib/sunflower-comments.rb
CHANGED
@@ -87,7 +87,7 @@ if defined?(Merb::Plugins)
|
|
87
87
|
def self.included(other)
|
88
88
|
SunflowerComments.classes << other
|
89
89
|
SunflowerComments.classes_hash[other.table_name.to_s] = other
|
90
|
-
other.
|
90
|
+
other.one_to_many :comments, :key => :parent_id, :conditions => {:parent_table => other.table_name.to_s}
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|