On 21 March 2010 12:02, <youtube@dev-hq.co.uk> wrote:
> For example if I created a forum with RoR and decided to have a forum,
> thread, and post scaffold, and they each has their own properties;
>
> rake aborted!
> An error has occurred, this and all later migrations canceled:
>
You've got some terminology problems there, that are confusing things
a little. What you're calling "scaffolds" are really "migrations".
"Scaffolding" is the combination of views, migrations, models and
controllers that Rails can create for you to give you a bootstrap into
a working application.
By the sounds of it, you need to use "add_column" in your new migration.
Have a look at some of the resources found through Google, or at p.71
of the "Agile Web Development With Rails" book.
http://www.google.co.uk/search?q=rails+migration+add_column
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment