you have to make one migration
add_column type methods used there then migrate them


On Thu, Jan 7, 2010 at 10:02 AM, Saboor <saboorahmeda...@gmail.com> wrote:

> hi,
> i have build a scaffold of [book name:string pages:int]
> it build successfully, then from rake task i did db:create:all and
> db:migrate , all was working fine
> now i want to change the defination of book form previous to [book
> name:string pages:int publisher:string]
>
> as to solve the problem i recreated the scaffold and executed
> db:migrate, it successfully completed but at run time i got errors
> that publisher method is not defined.
>
> so, now what i do update all the Models, Controllers & Views according
> to new defination of book
>
> please help me,
>
> thanks
>
> --
> 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-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>


-- 
Regards:
Rajeev sharma
+919813270707
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to