Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | `self.` is not needed when calling its own instance method | Akira Matsuda | 2017-01-05 | 1 | -1/+1 |
| | | | | Actually, private methods cannot be called with `self.`, so it's not just redundant, it's a bad habit in Ruby | ||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -6/+6 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Move default uuid generation to active_record | Jon McCartie | 2015-10-23 | 1 | -5/+0 |
| | |||||
* | Set active_record config for always creating uuids in generators | Jon McCartie | 2015-10-20 | 1 | -0/+5 |
| | |||||
* | migrations Class methods have nodoc, fix it for API [ci skip] | Gaurav Sharma | 2015-10-14 | 1 | -5/+5 |
| | |||||
* | Fix typo 'has' => 'have' | Sean Collins | 2015-01-25 | 1 | -1/+1 |
| | |||||
* | Fix typo 'another frameworks' => 'other frameworks' | Sean Collins | 2015-01-25 | 1 | -1/+1 |
| | |||||
* | Add CreateMigration action | Gert Goet | 2014-01-28 | 1 | -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-kapoor | 2013-07-01 | 1 | -4/+3 |
| | | | | railties/lib/rails/generators/migration.rb file | ||||
* | Added extra comment when a migration already exists of the same name. | wangjohn | 2013-02-15 | 1 | -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 railties | Francesco Rodriguez | 2012-05-14 | 1 | -4/+0 |
| | |||||
* | Skip creating migration if --skip option is passed to model generator [#6144 ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove existing migration when using 'rails generate model' with --force ↵ | David Trasbo | 2010-09-18 | 1 | -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 Reza | 2010-03-28 | 1 | -3/+3 |
| | |||||
* | No more vendored thor. | José Valim | 2010-02-03 | 1 | -5/+3 |
| | |||||
* | Ensure that attr_reader methods in generators are protected. | José Valim | 2010-02-02 | 1 | -8/+5 |
| | |||||
* | Change Rails::Generators::Migration protected instance methods to class ↵ | Szymon Nowak | 2010-02-02 | 1 | -23/+27 |
| | | | | | | methods. [#3820 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+65 |