search for: habm

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

Did you mean: habe
2012 Mar 05
8
Create a select with HABM
Hello, I have two tables with association HABM, projects and users, and in projects I want to show all users that was associated to the project. I have try with this: <%= select( "user", "id", Project.all.collect { |p| [ p.name, p.id ] } ) %> But only show all my projects, but Iz don''t know who show only th...
2006 Jul 22
5
Single id column
Is it true that Rails needs a single column to uniquely identify a row in table? If yes, doesn''t this limit the database design and disables the use of Rails for legacy databases? /Fredrik -- Posted via http://www.ruby-forum.com/.