Rails will automatically recognize changes you make to the database.
However, if you used scaffolding you will need to re-run the scaffolding
script or make the changes manually to your views.
-Jason Gilstrap
jasongilstrap-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
On 9/22/05, Nathan Mealey <nathan-mPKOtHdLgT0QaXB9iyTzyw@public.gmane.org>
wrote:>
> If you update your database schema will Rails automatically recognize the
> changes? For instance, if you add columns to an existing table that already
> has a model associated with it, will Rails need to be told of the changes?
> If not, how do you incorporate the changes into your Rails app, without
> blowing away any existing configuration you''ve done?
>
> Thanks,
> Nathan
>
> Nathan Mealey
>
> Website Manager & Administrative Director
>
> Cycle-Smart, Inc.
>
> P.O. Box 1482
>
> Northampton, MA
>
> 01061-1482
>
> nathan-mPKOtHdLgT0QaXB9iyTzyw@public.gmane.org
>
> (413) 210-7984
>
> (512) 681-7043 Fax
>
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails