search for: belongs_tohas_one

Displaying 1 result from an estimated 1 matches for "belongs_tohas_one".

2005 Sep 25
2
Problem issue with belongs_tohas_one and error_message_on
Hello I have a problem with relationship with belongs_to - has_one and with error_message_on I have splitted one huge table users into two tables user and profile. In users I''m keeping main fields like id,email,password and in profile there are the rest of fields. Table users: id,email,password Table profiles: id,user_id,publicname, and more ... My models are: - user.rb has_one