Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby ActiveRecord Basics Migrations and Relationships Migrations 2

Active Record - Migration 2

Can someone please tell me the answer to this quiz question:

http://teamtreehouse.com/library/migrations-2

It's nowhere in the videos leading up to this question. I'm quite sure of that. If I have to listen to Mr. Catlin's rambling blather one more time I'm going to hang myself.

1 Answer

J Scott Erickson
J Scott Erickson
11,883 Points
rails generate migration migration_name var_name:string var_name:string

Thank you, J Scott Erickson! Your answer saved me from a fate worse than death. I am greatly indebted.