rubyonrailsin

A Ruby and Rails talk

Sunday, March 21, 2010


[Rails] Re: Changing Scafflolds

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Aha, thanks! ill look into this (I really dont know any of the
terminology, when I created the stuff I saw the word scaffold and
assumed this was what to call it :P)

If I have any further problems ill ask.

Thanks,

Joe

On Mar 21, 1:02 pm, Michael Pavling <pavl...@gmail.com> wrote:
> On 21 March 2010 12:02,  <yout...@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

Subscribe feeds via e-mail

Blog Archive