##// END OF EJS Templates
Fixes a wrong number of arguments error with ruby1.9....
Jean-Philippe Lang -
r2797:531eb6555777
parent child
Show More
@@ -166,7 +166,7 module CollectiveIdea #:nodoc:
166 # Don't rebuild a valid tree.
166 # Don't rebuild a valid tree.
167 return true if valid?
167 return true if valid?
168
168
169 scope = lambda{}
169 scope = lambda{|node|}
170 if acts_as_nested_set_options[:scope]
170 if acts_as_nested_set_options[:scope]
171 scope = lambda{|node|
171 scope = lambda{|node|
172 scope_column_names.inject(""){|str, column_name|
172 scope_column_names.inject(""){|str, column_name|
General Comments 0
You need to be logged in to leave comments. Login now