lib/zermelo/associations/class_methods.rb in zermelo-1.3.0 vs lib/zermelo/associations/class_methods.rb in zermelo-1.4.0
- old
+ new
@@ -112,10 +112,10 @@
@lock.synchronize do
@index_data ||= {}
idx_data = name.nil? ? @index_data : @index_data[name]
yield idx_data unless idx_data.nil?
end
- end
+ end
# end used internally within Zermelo
def add_index_data(klass, name, args = {})
return if name.nil?
\ No newline at end of file