method
signed_global_id
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::FixtureSet
signed_global_id(fixture_set_name, label, column_type: :integer, **options)public
No documentation available.
# File activerecord/lib/active_record/fixtures.rb, line 588
def signed_global_id(fixture_set_name, label, column_type: :integer, **options)
identifier = identify(label, column_type)
model_name = default_fixture_model_name(fixture_set_name)
uri = URI::GID.build([GlobalID.app, model_name, identifier, {}])
SignedGlobalID.new(uri, **options)
end