I believe you will have to learn about associations (or relationships between tables, as another post has already noted). Look into 'belongs_to' and 'has_*' relationships (probably 'has_one' or 'has_many'). That will most likely teach you what you need.
On Jan 26, 7:16 pm, Souschef <[email protected]> wrote: > I've added a foreign key to a table (specifically, user_Id to my > projects table so I can select 'myprojects') and now when I add a > project, the user_id is not being saved in the projects table. In a > former life, I would update my SQL statements, but this is rails. > Where do I update my CRUD statements? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

