This repository has been archived by the owner on May 10, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the engine from to travis/engine
- Loading branch information
Sven Fuchs
committed
Mar 20, 2012
1 parent
3f23850
commit 53b93af
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require 'travis' | ||
|
||
module Travis | ||
class Engine < Rails::Engine | ||
initializer 'add migrations path' do |app| | ||
# need to insert to migrations_paths on Migrator because Rails' stupid | ||
# rake tasks copy them over before loading the engines (Rails <= 3.2.2) | ||
ActiveRecord::Migrator.migrations_paths << root.join('db/migrate').to_s | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.