diff options
Diffstat (limited to 'activerecord/lib/active_record/deprecated_finders.rb')
-rw-r--r-- | activerecord/lib/active_record/deprecated_finders.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/deprecated_finders.rb b/activerecord/lib/active_record/deprecated_finders.rb index cdbba37085..adc73e0d5d 100644 --- a/activerecord/lib/active_record/deprecated_finders.rb +++ b/activerecord/lib/active_record/deprecated_finders.rb @@ -34,7 +34,7 @@ module ActiveRecord # Project.find_all ["category = ?", category_name], "created ASC", [15, 20] def find_all(conditions = nil, orderings = nil, limit = nil, joins = nil) limit, offset = limit.is_a?(Array) ? limit : [ limit, nil ] - find(:all, { :conditions => conditions, :order => orderings, :joins => joins, :limit => limit, :offset => offset}) + find(:all, :conditions => conditions, :order => orderings, :joins => joins, :limit => limit, :offset => offset) end end end |