aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2014-06-11 11:42:23 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2014-06-11 11:42:23 -0300
commitcd7cd9b947c75373998b3cb7241753587c4371f3 (patch)
tree9afd2a4530afb50615233a3924ed4c8f9e448ccc /activerecord
parentea3455d81b9d4aa9f52bb98d81020a5f36330f1c (diff)
parent75e3464e5868522c3c277d7008238d0d3ed93bf8 (diff)
downloadrails-cd7cd9b947c75373998b3cb7241753587c4371f3.tar.gz
rails-cd7cd9b947c75373998b3cb7241753587c4371f3.tar.bz2
rails-cd7cd9b947c75373998b3cb7241753587c4371f3.zip
Merge pull request #15637 from akshay-vishnoi/delete-deprecated-method
Remove deprecation warning
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/fixtures.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index 9a1f3f3bb8..95fcbbe99a 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -568,10 +568,6 @@ module ActiveRecord
@config = config
@model_class = nil
- if class_name.is_a?(String)
- ActiveSupport::Deprecation.warn("The ability to pass in strings as a class name to `FixtureSet.new` will be removed in Rails 4.2. Use the class itself instead.")
- end
-
if class_name.is_a?(Class) # TODO: Should be an AR::Base type class, or any?
@model_class = class_name
else