aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/migration.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move default uuid generation to active_recordJon McCartie2015-10-231-5/+0
|
* Set active_record config for always creating uuids in generatorsJon McCartie2015-10-201-0/+5
|
* migrations Class methods have nodoc, fix it for API [ci skip]Gaurav Sharma2015-10-141-5/+5
|
* Fix typo 'has' => 'have'Sean Collins2015-01-251-1/+1
|
* Fix typo 'another frameworks' => 'other frameworks'Sean Collins2015-01-251-1/+1
|
* Add CreateMigration actionGert Goet2014-01-281-16/+22
| | | | | | | | | | This Thor-action isolates the logic whether to (over-)write migration and what is shown to the user. It's modelled after Thor's CreateFile-action. This solves the issue that removing a non-existing migration, tried to remove the template-path (#13588). Related issues: #12674
* Using ActiveSupport::Concern instead of plain regular Ruby hooks in ↵aditya-kapoor2013-07-011-4/+3
| | | | railties/lib/rails/generators/migration.rb file
* Added extra comment when a migration already exists of the same name.wangjohn2013-02-151-1/+1
| | | | | | User should know that he can overwrite the previous migration. This comes in handy especially when generating models which were previously created then removed.
* Removing ==Examples and last blank lines of docs from railtiesFrancesco Rodriguez2012-05-141-4/+0
|
* Skip creating migration if --skip option is passed to model generator [#6144 ↵Piotr Sarnacki2010-12-161-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove existing migration when using 'rails generate model' with --force ↵David Trasbo2010-09-181-1/+5
| | | | | | [#5526 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Changes migration number to version due to ambiguity. [#3065 state:committed]Rizwan Reza2010-03-281-3/+3
|
* No more vendored thor.José Valim2010-02-031-5/+3
|
* Ensure that attr_reader methods in generators are protected.José Valim2010-02-021-8/+5
|
* Change Rails::Generators::Migration protected instance methods to class ↵Szymon Nowak2010-02-021-23/+27
| | | | | | methods. [#3820 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+65