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 CHANGED
@@ -1 +1 @@
1
- 0.1.2
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("#{through_association_singular}_ids")
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{st-elsewhere}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Doll"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: st-elsewhere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Doll