If I make a change to a database table, how do I recreate the model to reflect the change? -- Posted via http://www.ruby-forum.com/.
As far as I know you have to do it manually. There are still some tedious things you have to do. I''ve been working on that pretty much all night. -N On 31/03/06, Arch Stanton <d6veteran@gmail.com> wrote:> If I make a change to a database table, how do I recreate the model to > reflect the change? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Arch Stanton wrote:> If I make a change to a database table, how do I recreate the model to > reflect the change?You don''t need to. Joey__ -- Posted via http://www.ruby-forum.com/.
Oh, I misread. Just a table. I was referring to a the model as a whole. Joey''s right... you don''t. -N On 31/03/06, joey__ <cardologist@gmail.com> wrote:> Arch Stanton wrote: > > If I make a change to a database table, how do I recreate the model to > > reflect the change? > > You don''t need to. > > Joey__ > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Wow, that is slick. I just tried it out. I''m realizing quickly why this framework is getting so much attention. -- Posted via http://www.ruby-forum.com/.
On 3/31/06, Arch Stanton <d6veteran@gmail.com> wrote:> Wow, that is slick. I just tried it out. > > I''m realizing quickly why this framework is getting so much attention.Once you set your app for production mode, the model is only created/modified when you start your app, so as far as I know you have to stop your webserver and restart it. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century