lib/ripple/associations/many.rb in ripple-1.0.0.beta vs lib/ripple/associations/many.rb in ripple-1.0.0.beta2
- old
+ new
@@ -5,10 +5,10 @@
module Many
include Instantiators
def to_ary
load_target
- Array === target ? target.to_ary : Array(target)
+ Array === target ? target.to_ary : Array.wrap(target)
end
def count
load_target
target.size