class ActiveRecord::FixtureSet::File
def raw_rows
def raw_rows @raw_rows ||= begin data = ActiveSupport::ConfigurationFile.parse(@file, context: ActiveRecord::FixtureSet::RenderContext.create_subclass.new.get_binding) data ? validate(data).to_a : [] rescue RuntimeError => error raise Fixture::FormatError, error.message end end