app/models/member.rb
# for *memberable polymorphic
# *memberable is polymorphic entity having users; so, this model entity links entity:*memberable to entity:UserInfo
# Root of STI
for *memberable polymorphic
memberable is polymorphic entity having users; so, this model entity links entity:*memberable to entity:UserInfo
Root of STI
for * memberable polymorphic memberable is polymorphic entity having users ; so this model entity links entity : * memberable to entity : UserInfo Root of STI
def user(options = {})
    new_record? ?  
       (user_info_run_id.blank? ?  nil : UserInfo.find( :first, :scope => ":self", :conditions => "user_infos.run_id = #{user_info_run_id}")) :
      assoc_dependee(  "UserInfo", "<-  :self", options)  
  end
def user ( options = { } ) new_record? ? ( user_info_run_id . blank? ? nil : UserInfo . find ( :first , :scope => ":self" , :conditions => "user_infos.run_id = #{user_info_run_id}" ) ) : assoc_dependee ( "UserInfo" , "<-  :self" , options ) end
for *memberable polymorphic
memberable is polymorphic entity having users; so, this model entity links entity:*memberable to entity:UserInfo
Root of STI
for * memberable polymorphic memberable is polymorphic entity having users ; so this model entity links entity : * memberable to entity : UserInfo Root of STI
options
<not_specific>