diff options
Diffstat (limited to 'activerecord/lib/active_record/deprecated_associations.rb')
-rw-r--r-- | activerecord/lib/active_record/deprecated_associations.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/lib/active_record/deprecated_associations.rb b/activerecord/lib/active_record/deprecated_associations.rb index 01410c4a7b..c973b65dbc 100644 --- a/activerecord/lib/active_record/deprecated_associations.rb +++ b/activerecord/lib/active_record/deprecated_associations.rb @@ -49,17 +49,6 @@ module ActiveRecord end_eval end - def deprecated_find_all_in_collection_method(collection_name)# :nodoc: - module_eval <<-"end_eval", __FILE__, __LINE__ - def find_all_in_#{collection_name}(runtime_conditions = nil, orderings = nil, limit = nil, joins = nil) - ActiveSupport::Deprecation.silence do - #{collection_name}.find_all(runtime_conditions, orderings, limit, joins) - end - end - deprecate :find_all_in_#{collection_name} => "use #{collection_name}.find(:all, ...) instead" - end_eval - end - def deprecated_collection_create_method(collection_name)# :nodoc: module_eval <<-"end_eval", __FILE__, __LINE__ def create_in_#{collection_name}(attributes = {}) |