search for: favorite_plants_1

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

2006 Jun 26
10
Create tables on the fly in rails?
...me which plants they like. How could I do this? I don''t know if there''s a way to do it in RoR, so I was just going to use SQL, and manually create a table corrosponding to the User''s primary key number. Eg. the first user on my site would have a corrosponding table favorite_plants_1 and that would hold a list of all the plants he liked. So I would just do the sql command CREATE TABLE. Anyone have better advice? -- Posted via http://www.ruby-forum.com/.