instance method
read_fixture_files
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.2.22.5 PrivateAvailable in: v3.1.12 v3.2.22.5
Signature
read_fixture_files()
No documentation comment.
Source
# File activerecord/lib/active_record/fixtures.rb, line 647
def read_fixture_files
if File.file?(yaml_file_path)
read_yaml_fixture_files
elsif File.file?(csv_file_path)
read_csv_fixture_files
else
raise FixturesFileNotFound, "Could not find #{yaml_file_path} or #{csv_file_path}"
end
end
Defined in activerecord/lib/active_record/fixtures.rb line 647
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Fixtures