[Rails] Re: Switch between environments
Thank you very much, Hassan. Your answer definitely helps a lot.
I'm obviously framing the ROR environments concept incorrectly.
It looks like I've got to hit the books a lot harder to avoid straying
down the wrong path.
Thanks,
~Kal
On Apr 18, 12:35 pm, Hassan Schroeder <hassan.schroe...@gmail.com>
wrote:
> On Tue, Apr 17, 2012 at 11:59 PM, Kal <calcr...@gmail.com> wrote:
> > So this is my question: How do I move everything to the "production
> > environment". I'd imagine that is the ultimate goal, is it not?
>
> Actually, no.
>
> > How do I copy the data to production.sqlite3
>
> To amplify on other responses, it's *not* at all typical to share databetweendev and prod databases. There are sometimes tables of
> common data: search on 'Rails seed data' for more info, or look at
> the result of `bundle exec rake -T | grep seed` .
>
> But if you want to load *all* the data from your dev instance to your
> production system, that's not a Rails function, and how to best do
> it really depends on your particular databases and requirements.
>
> HTH,
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.comhttp://about.me/hassanschroeder
> twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home