Class: ActiveRecord::Reflection::HasOneReflection

Inherits:
AssociationReflection show all
Defined in:
lib/dependent-auto-rails/activerecord/reflection.rb

Instance Method Summary collapse

Constructor Details

#initializeHasOneReflection

Returns a new instance of HasOneReflection.



72
73
74
75
# File 'lib/dependent-auto-rails/activerecord/reflection.rb', line 72

def initialize(...)
  super(...)
  convert_options_to_dynamic_reflection_options!
end