Displaying 1 result from an estimated 1 matches for "match_details".
2006 Aug 18
1
How update a record which hasn''t id column?
Hi, I''ve two database tables 1-N related and one of them doesn''t have id
column:
matches (id, more columns), match_details(match_id, ... more columns)
Also have two models that represents these tables:
Match MatchDetail
has_one :match_detail belongs_to :match,
:foreign_key => ''match_id''
When I create a Match object with a new MatchDeta...