Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

This is not a public project

ronin-28893 (at lighthouseapp)'s latest activity

Wednesday, August 13 2008
819 ENV['RAILS_ENV] modification not taken into account by database raske tasks was updated in Ruby on Rails
  • ronin-28893 (at lighthouseapp)
    ronin-28893 (at lighthouseapp) commented at 4:26 PM

    I reformat the example code :

    
    desc 'Buggy environment switch'
    task :do_sth_in_test_env do
      # we are currently in dev env and
      # we have an empty test databa...
  • ronin-28893 (at lighthouseapp)
    ronin-28893 (at lighthouseapp) created the ticket at 4:22 PM

    The switching environment (for example from 'development' to 'test') defined in a rake task is not taken into account by database rake tasks (databases.rake)

    h...