method

raw_rows

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: File
raw_rows() 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/fixture_set/file.rb, line 51
        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
Register or log in to add new notes.