Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | removes usage of Object#in? from the code base (the method remains defined ↵ | Xavier Noria | 2012-08-06 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | by Active Support) Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case. | ||||
* | Refactor identifying generator's destination root | Stefan Sprenger | 2011-05-27 | 1 | -5/+2 |
| | |||||
* | Introducing engine commands | Stefan Sprenger | 2011-05-26 | 1 | -1/+6 |
| | |||||
* | Streamline generators initialization flow. | José Valim | 2011-05-25 | 1 | -2/+0 |
| | |||||
* | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -1/+1 |
| | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`. | ||||
* | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 1 | -1/+1 |
| | | | | suggestion! | ||||
* | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 1 | -1/+3 |
| | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?. | ||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Still copy application configuration to generator even if they are required ↵ | José Valim | 2010-06-02 | 1 | -0/+1 |
| | | | | earlier. Also tidy up the guide a little bit. | ||||
* | Add missing -h/--help flag to several rails command [#3909 status:resolved] | Prem Sichanugrist | 2010-02-10 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Automatically configure generators if application is defined. | José Valim | 2010-01-29 | 1 | -1/+0 |
| | |||||
* | No more hacks to ensure generators are executed inside Rails.root. | José Valim | 2010-01-07 | 1 | -1/+1 |
| | |||||
* | Refactor generators a little bit. | José Valim | 2009-11-08 | 1 | -0/+3 |
| | | | | Signed-off-by: Yehuda Katz <wycats@mobile-166-129-219-135.mycingular.net> | ||||
* | Pass config.generators options along when RAILS_GENERATORS is set and show ↵ | José Valim | 2009-11-03 | 1 | -2/+0 |
| | | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | script/generate should require environment | Joshua Peek | 2009-10-16 | 1 | -1/+0 |
| | |||||
* | Use Rails.initialize! where we just want to run the initializers and aren't ↵ | Joshua Peek | 2009-10-16 | 1 | -1/+1 |
| | | | | concerned about the config | ||||
* | Have config/application.rb contain the application definition and require ↵ | Carl Lerche | 2009-10-15 | 1 | -1/+1 |
| | | | | that file instead of config/boot.rb or config/environment.rb in script/*. | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+10 |