teej-alchemy 1.0.1 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/alchemy.gemspec +1 -1
- data/lib/alchemy/server.rb +1 -1
- data/lib/alchemy/uses_alchemy.rb +1 -1
- metadata +1 -1
data/alchemy.gemspec
CHANGED
data/lib/alchemy/server.rb
CHANGED
data/lib/alchemy/uses_alchemy.rb
CHANGED
@@ -21,7 +21,7 @@ module UsesAlchemy
|
|
21
21
|
if reload.first || list.nil?
|
22
22
|
refreshed_list = klass.find(:all, :select=>"#{opts[:store]}, #{opts[:on]}", :conditions=>["#{opts[:on]} = ?", self.id])
|
23
23
|
refreshed_list = refreshed_list.map(&opts[:store])
|
24
|
-
ALCHEMY.replace(send(alchemy_listname), refreshed_list
|
24
|
+
ALCHEMY.replace(send(alchemy_listname), refreshed_list)
|
25
25
|
list = refreshed_list
|
26
26
|
end
|
27
27
|
opts[:proc].call(list)
|