search for: people_relations

Displaying 2 results from an estimated 2 matches for "people_relations".

2008 Feb 20
0
HABTM problem
...:selected => p.relation_ids }, { :multiple => true, :name => ''p[relation_ids][]'' } -%></td> <%end%> I am getting error undefined method name relation_ids how should i write the above piece of code so that the selected relation_id and person_id go into the people_relations table. Thank you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3...
2005 Dec 26
16
How to create application with single table with primary key
I''m trying without any succes to create application in which I have one keyed table. The table structure is: CREATE TABLE employees ( pin INTEGER PRIMARY KEY, first_name VARCHAR(30) NOT NULL, last_name VARCHAR(30) NOT NULL ); Whenever I enter new record, I need the the filed pin is also filled by user. Whenever a user edit the table, there should be option to edit or not edit the