method
fixture_path
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::TestFixtures::ClassMethods
fixture_path()public
No documentation available.
# File activerecord/lib/active_record/test_fixtures.rb, line 55
def fixture_path # :nodoc:
ActiveRecord.deprecator.warn(<<~WARNING)
TestFixtures.fixture_path is deprecated and will be removed in Rails 7.2. Use .fixture_paths instead.
If multiple fixture paths have been configured with .fixture_paths, then .fixture_path will just return
the first path.
WARNING
fixture_paths.first
end