instance method
method_missing
Ruby on Rails 7.1.6
Since v7.1.6 PrivateSignature
method_missing(name, *args, **kwargs, &block)
No documentation comment.
Parameters
-
namereq -
argsrest -
kwargskeyrest -
blockblock
Source
# File activerecord/lib/active_record/test_fixtures.rb, line 275
def method_missing(name, *args, **kwargs, &block)
if fs_name = fixture_sets[name.to_s]
access_fixture(fs_name, *args, **kwargs, &block)
else
super
end
end
Defined in activerecord/lib/active_record/test_fixtures.rb line 275
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::TestFixtures