aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/engine.rake
Commit message (Collapse)AuthorAgeFilesLines
* Remove DB naming ambiguityAlberto Almagro2017-11-261-2/+2
| | | | In some places this file referred to the database in three different ways: database, DB and db. The last one caused confusion with the db namespace and the db folder. This commit removes this ambiguity by using the whole word 'database' everywhere
* Merge pull request #30773 from y-yagi/fix_30765Eileen M. Uchitelle2017-11-121-0/+3
|\ | | | | Make automatically synchronize test schema work inside engine
| * Make automatically synchronize test schema work inside engineyuuji.yaginuma2017-10-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Rails engine, migration files are in under `db/migrate` of engine. Therefore, when rake task is executed in engine, `db/migrate` is automatically added to `DatabaseTasks.migrations_paths`. https://github.com/rails/rails/blob/a18cf23a9cbcbeed61e8049442640c7153e0a8fb/activerecord/lib/active_record/railtie.rb#L39..L43 However, if execute the rake task under dummy app, migration files will not be loaded because engine's migration path setting process is not called. Therefore, in order to load migration files correctly, it is necessary to execute rake task under engine. Fixes #30765
* | [Railties] require_relative => requireAkira Matsuda2017-10-211-1/+1
|/ | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* [Railties] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Add `app:update` task to enginesyuuji.yaginuma2017-03-201-0/+11
| | | | | | Occasionally we update the file generated by engine. Therefore, I think that there is a task for updating as well as application in the engine, it is convenient for updating.
* modernizes hash syntax in railtiesXavier Noria2016-08-061-1/+1
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-3/+3
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* make rake proxy work in rails enginesyuuji.yaginuma2016-01-311-2/+2
|
* Replace AR with ActiveRecord to make it more readable [ci skip]arvind2015-09-081-1/+1
|
* Improved grammar and replaced 'dbs' slang with 'databases'Prathamesh Sonpatki2013-06-271-1/+1
|
* do not set the ENGINE_PATH to nilAaron Patterson2012-05-241-1/+1
|
* Added environment rake task to enginesSteven Anderson2011-10-181-0/+1
|
* fix engines rake tasksJake Varghese2011-07-041-0/+2
|
* Refactoring of application's task in engine.rakePiotr Sarnacki2010-12-191-20/+23
|
* Do not load all application's task in generated enginePiotr Sarnacki2010-12-191-0/+66