Ruby on Rails Friday, November 14, 2014

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:49 PM, Walther Diechmann <walther@diechmann.net> wrote:
best practise is to leave it alone -

rails generate scaffold some_class some_field_name some_other_field_name ……
rails db:migrate

that's it

:)


Den 14/11/2014 kl. 10.16 skrev M,Gopi M.gopinath <gopi170987@gmail.com>:

I may be adding few things later to database table, But Know I am in initial stage has only 10 table .... 

What is the Best practices?



Best Regards,

Gopinath M

Ruby on Rails Developer

Contact : +91-9994652146

Skype Id : gopinath.murugan






On Fri, Nov 14, 2014 at 2:34 PM, Walther Diechmann <walther@diechmann.net> wrote:
as long as you develop - one file per migration

once you 'wrap' it up - a single file is ok

but why change it in the first place?

Den 14/11/2014 kl. 09.27 skrev M,Gopi M.gopinath <gopi170987@gmail.com>:

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.

Thanks in advance...



Best Regards,

Gopinath M

Ruby on Rails Developer






--
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/CAPDEixJMJsZNEjCuCFw%3DRkkq2kGvJnmCGEnucCF3H-XNMBs5uw%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/39D5FCE4-5B2F-46F2-8381-45CF4B23D6F0%40diechmann.net.
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/CAPDEixJcBeu-dQ0m1TJmZb2oPnejw4S1TRDMnZ6MxAPbFhXi1Q%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/4DEAE5BB-4C04-4057-AB17-7BB692B805E9%40diechmann.net.

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/CAPDEixJYURZEfctKVin-f0St9AdmCNr5c1OT7evOidAhq_saLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment