search for: m000356

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

Did you mean: p000356
2005 Dec 31
3
Sort or Order a <Select> box.
Evening folks, I''m new to RoR, and have found some very useful info on this site, thanks. I have a select box that I need to sort. <select name="people[peoplekind_id]"> <% @peoplekinds.each do |peoplekind| %> <option value="<%= peoplekind.id %>" <%= '' selected'' if peoplekind.id == @people.peoplekind_id %>> <%=
2005 Dec 30
3
NewbieQ - Relational tables
Hi all, I''m going nuts on a very simple issue. I know what I want but don''t know what to tell rails to do so. I have a very common setup for managing contacts. A companies table and a contacts table. As you''ve guessed it''s a one to many relationship. The database is setup with the appropriate foreign keys, the models have been generated and I added the