Ruby on Rails Monday, February 10, 2014

On Mon, Feb 10, 2014 at 8:50 AM, Ken D'Ambrosio
<flyingtoasters1024@gmail.com> wrote:
> I want to create a one-to-many association; how do I accomplish this?

Have you read these?

http://guides.rubyonrails.org/association_basics.html
http://guides.rubyonrails.org/migrations.html

In general you should make changes to your DB through migrations
only, so you can reverse, repeat, insure identical changes are made
to other (deployment) systems, etc.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAayvNvactqEQ9VOPQrktOxh%3DsLsJuRNd%2BG40%2B05P86MA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment