[Rails] Cloning DB Structure and Data
"Luis G. Gómez"
lgomez at vfxnetwork.com
Fri Dec 17 21:53:45 GMT 2004
Ok, I asked about passing parameters to rake tasks on #rubyonrails and
apparently it can't be done except when using ENV["param_name"]. I'd
like to be able to do this:
rake clone_database_structure source=<source_database>
target=<target_database>
Othewise I get the impression that there has to be a task for each
cloning direction effectively repeating ourselves.
Thoughts?
LG
David Heinemeier Hansson wrote:
>> Is there a reason I'm not aware of for not having the ability to clone
>> from development to production and production to development using
>> "rake clone_development_structure_to_production" and "rake
>> clone_production_structure_to_development"?
>
>
> No. I'd like to be able to do that as well. Please do submit a patch and
> it'll make it in post haste.
> --
> David Heinemeier Hansson,
> http://www.basecamphq.com/ -- Web-based Project Management
> http://www.rubyonrails.org/ -- Web-application framework for Ruby
> http://macromates.com/ -- TextMate: Code and markup editor (OS X)
> http://www.loudthinking.com/ -- Broadcasting Brain
>
>
More information about the Rails
mailing list