Rake db:seeds , provide sample data for development environment only, How can we transfer the data to production via Capistrano?
Jay On Dec 7, 2011, at 8:08 AM, Donovan Bray <[email protected]> wrote: > rake db:seeds is usually used for this purpose > > But it depends on your application configuring an appropriate seeds.rb > > On Dec 7, 2011, at 2:33 AM, jay parteek <[email protected]> wrote: > >> I got you. So rake db:migrate will just try to export the structure of >> the database placed inside the schema.rb. What if we want to copy the >> local state (may be some dummy data ) to the remote server? >> >> >> >> On Wed, Dec 7, 2011 at 2:21 AM, Lee Hambley <[email protected]> wrote: >>> Jay, What exactly do you expect rake db:migrate does? It simply runs your >>> migrations, it does not copy local state, and images to the remote server, >>> that wouldn't make any sense. >>> >>> -- >>> * You received this message because you are subscribed to the Google Groups >>> "Capistrano" group. >>> * To post to this group, send email to [email protected] >>> * To unsubscribe from this group, send email to >>> [email protected] For more options, visit this group >>> at http://groups.google.com/group/capistrano?hl=en >> >> -- >> * You received this message because you are subscribed to the Google Groups >> "Capistrano" group. >> * To post to this group, send email to [email protected] >> * To unsubscribe from this group, send email to >> [email protected] For more options, visit this group >> at http://groups.google.com/group/capistrano?hl=en > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
