st-elsewhere 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/st-elsewhere.rb +1 -1
- data/st-elsewhere.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/st-elsewhere.rb
CHANGED
@@ -67,7 +67,7 @@ module StElsewhere
|
|
67
67
|
# Hospital#doctors=
|
68
68
|
define_method("#{association_plural}=") do |new_associations|
|
69
69
|
through_class = through.to_s.singularize.camelize.constantize
|
70
|
-
current_associations = self.send("#{
|
70
|
+
current_associations = self.send("#{association_plural}")
|
71
71
|
removed_associations = current_associations - new_associations
|
72
72
|
new_associations = new_associations - current_associations
|
73
73
|
|
data/st-elsewhere.gemspec
CHANGED