Permalink
Browse files

Merge pull request #15637 from akshay-vishnoi/delete-deprecated-method

Remove deprecation warning
  • Loading branch information...
2 parents ea3455d + 75e3464 commit cd7cd9b947c75373998b3cb7241753587c4371f3 @spastorino spastorino committed Jun 11, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 activerecord/lib/active_record/fixtures.rb
@@ -568,10 +568,6 @@ def initialize(connection, name, class_name, path, config = ActiveRecord::Base)
@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

0 comments on commit cd7cd9b

Please sign in to comment.