aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/deprecated_associations.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-06-11 07:45:56 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-06-11 07:45:56 +0000
commit7858a32e1b2e5a64b0ef774530f0d80a588ed8f3 (patch)
tree26607a7b762196219843a92a579a98acad8e1bbc /activerecord/lib/active_record/deprecated_associations.rb
parent800b899f9685a12e0e255e29369eac36e2985d28 (diff)
downloadrails-7858a32e1b2e5a64b0ef774530f0d80a588ed8f3.tar.gz
rails-7858a32e1b2e5a64b0ef774530f0d80a588ed8f3.tar.bz2
rails-7858a32e1b2e5a64b0ef774530f0d80a588ed8f3.zip
Remove deprecated find_first and find_all.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/deprecated_associations.rb')
-rw-r--r--activerecord/lib/active_record/deprecated_associations.rb11
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 = {})