Flowdock
method

model_class=

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: FixtureSet
model_class=(class_name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/fixtures.rb, line 782
      def model_class=(class_name)
        if class_name.is_a?(Class) # TODO: Should be an AR::Base type class, or any?
          @model_class = class_name
        else
          @model_class = class_name.safe_constantize if class_name
        end
      end
Register or log in to add new notes.