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.
Files changed (2) hide show
  1. data/lib/sunflower-comments.rb +1 -1
  2. metadata +1 -1
@@ -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.many_to_one :comments, :key => :parent_id, :conditions => {:parent_table => other.table_name.to_s}
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: laurynasl-sunflower-comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurynas Liutkus