APIdock / Ruby on Rails
/
Browse About
method

loaded

v3.0.9 - Show latest stable - Class: ActiveRecord::Associations::AssociationProxy
loaded()
public

Asserts the target has been loaded setting the loaded flag to true.

# File activerecord/lib/active_record/associations/association_proxy.rb, line 128
      def loaded
        @loaded = true
      end

Related methods

  • Instance methods
  • ===
  • aliased_table_name
  • conditions
  • inspect
  • loaded
  • loaded?
  • proxy_owner
  • proxy_reflection
  • proxy_respond_to?
  • proxy_target
  • reload
  • reset
  • respond_to?
  • send
  • sql_conditions
  • target
  • target=
  • Class methods
  • new
  • Protected methods
  • protecteddependent?
  • protectedinterpolate_and_sanitize_sql
  • protectedinterpolate_sanitized_sql
  • protectedmerge_options_from_reflection!
  • protectedsanitize_sql
  • protectedset_belongs_to_association_for
  • protectedwith_scope
  • Private methods
  • privateflatten_deeper
  • privateforeign_key_present
  • privateload_target
  • privatemethod_missing
  • privateowner_quoted_id
  • privateraise_on_type_mismatch
  • privateset_inverse_instance
  • privatewe_can_set_the_inverse_on_this?
APIdock API Documentation Browser

© 2026 APIdock