Ruby on Rails Friday, November 14, 2014

Hi Colin,


But my team meet preferring to keep it as a single file.

Some argument where going between us, I can't able to convenience him to keep separate for all tables. Can I provide any links or url to get clear understanding for him..


Thanks in advance....

Best Regards,

Gopinath M

Ruby on Rails Developer

Contact : +91-9994652146

Skype Id : gopinath.murugan






On Fri, Nov 14, 2014 at 2:54 PM, Colin Law <clanlaw@gmail.com> wrote:
On 14 November 2014 08:27, M,Gopi M.gopinath <gopi170987@gmail.com> wrote:
> Hi All,
>
> I have question with rails migration file.
>
> Seems In rails for each and every table migration file will be generate with
> timestamp followed by table name.
>
> But I have moved all the migration file to a single file, and deleted all
> the migrations.
>
> what is the best way of practice,
>
> Having single migration for each table or else a single migration file for
> the whole application.

The best practice with rails is almost always to do it the way rails
wants you to.  So one file per migration.  What is the point of doing
the extra work of combining them into one file?

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLufoCBmzK7_pW%3D9nfysPFsqCjtedKJTvKUiQ_ybo4YhfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEixLEcjuQdFEhCMEQonchpQ0PaqsEo6BO7U61WpOx3TyfNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment