Permalink
Browse files

Remove deprecation warning

  • Loading branch information...
Akshay Vishnoi
Akshay Vishnoi committed Jun 11, 2014
1 parent a5ab38c commit 75e3464e5868522c3c277d7008238d0d3ed93bf8
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 75e3464

Please sign in to comment.