On Nov 13, 9:55 am, jemminger <[EMAIL PROTECTED]> wrote:
> > Are there better/cleaner alternatives?
>
> run at deploy time IMHO
>
> using capistrano, "cap deploy:migrate"
and to avoid having to issue more than one cap command for a deploy
and migrate, I typically define a task to do it all:
namespace :deploy do
task :long do
web.disable
default
migrate
web.enable
end
end
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---