Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #30773 from y-yagi/fix_30765 | Eileen M. Uchitelle | 2017-11-12 | 1 | -0/+3 |
|\ | | | | | Make automatically synchronize test schema work inside engine | ||||
| * | Make automatically synchronize test schema work inside engine | yuuji.yaginuma | 2017-10-02 | 1 | -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 => require | Akira Matsuda | 2017-10-21 | 1 | -1/+1 |
|/ | | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32 | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | [Railties] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -1/+1 |
| | |||||
* | Add `app:update` task to engines | yuuji.yaginuma | 2017-03-20 | 1 | -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 railties | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -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 engines | yuuji.yaginuma | 2016-01-31 | 1 | -2/+2 |
| | |||||
* | Replace AR with ActiveRecord to make it more readable [ci skip] | arvind | 2015-09-08 | 1 | -1/+1 |
| | |||||
* | Improved grammar and replaced 'dbs' slang with 'databases' | Prathamesh Sonpatki | 2013-06-27 | 1 | -1/+1 |
| | |||||
* | do not set the ENGINE_PATH to nil | Aaron Patterson | 2012-05-24 | 1 | -1/+1 |
| | |||||
* | Added environment rake task to engines | Steven Anderson | 2011-10-18 | 1 | -0/+1 |
| | |||||
* | fix engines rake tasks | Jake Varghese | 2011-07-04 | 1 | -0/+2 |
| | |||||
* | Refactoring of application's task in engine.rake | Piotr Sarnacki | 2010-12-19 | 1 | -20/+23 |
| | |||||
* | Do not load all application's task in generated engine | Piotr Sarnacki | 2010-12-19 | 1 | -0/+66 |