aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/actions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add missing require to Array#wrap in generators action methodsCarlos Antonio da Silva2012-01-221-0/+1
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-3/+4
| | | | test for b/eol on inserts
* Added tests for #3751ganesh2011-11-251-1/+1
|
* warning removed : '&' interpreted as argument prefixArun Agrawal2011-09-301-1/+1
|
* Honour RAILS_ENV environment variable when running rake.Dmitriy Kiriyenko2011-09-291-1/+1
|
* Merge pull request #2841 from wojtekmach/app-generators-groupJosé Valim2011-09-041-1/+26
|\ | | | | Add gem group support to generators
| * Add gem_group support to generatorsWojciech Mach2011-09-041-1/+26
| |
* | Warnings removed for using shadow variable.Arun Agrawal2011-09-041-2/+2
|/
* fix indent for generator environment methodAlexey Vakhov2011-09-021-1/+1
|
* Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-2/+3
|
* Removed warnings about shadowing variablesAlexey Gaziev2011-06-201-4/+4
|
* parenthesize the arguments with splatAkira Matsuda2011-05-181-1/+1
| | | | to make sure we're not calling the :* operator
* log and readme should respect --quietJosé Valim2011-03-041-3/+4
|
* For templates' gem method, :env is deprecated, use :group insteadRyan Bigg2010-12-011-1/+1
|
* Fixing two minor errors in Rails::Generators::Actions initializer method ↵Juan Maiz2010-10-081-2/+2
| | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove deprecation warnings in railtiesCarlos Antonio da Silva2010-09-061-25/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Config is deprecated on 1.8.8 and 1.9.3 use RbConfigSantiago Pastorino2010-08-231-2/+2
|
* Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵Santiago Pastorino2010-08-021-1/+1
| | | | | | using the deprecated syntax [#5263 state:committed]
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-2/+2
|
* Fixed typo in Rails::Generators::Base [#5051 state:resolved]Mark Hayes2010-07-061-1/+1
|
* Make the sentinel flag for route a bit more robust.José Valim2010-06-281-1/+1
|
* Bundler deprecated options in Gemfile with application template using method ↵Adrian Sanchez2010-05-151-1/+2
| | | | | | "gem" [#4534 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]Anil Wadghule2010-04-261-2/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* #add_source: Fixed docco + added required newline to line added to GemfileDr Nic Williams2010-02-261-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add readme as method in Rails::Generators::Actions (as we had in 2.3)José Valim2010-02-171-0/+10
|
* Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵Michael Bleigh2010-02-101-1/+1
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added newline to appended gem config in GemfileDan Kubb2010-02-061-1/+1
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* fix usage examples and more to use new invocationsRomD2010-02-061-2/+2
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Update routes.rb template to use App nameJoshua Peek2009-12-211-1/+1
|
* Fixed old routing mapper example in generated routes.rbJoshua Peek2009-12-091-1/+1
|
* Fix the application.rb generatorCarl Lerche2009-11-251-1/+1
|
* Pass config.generators options along when RAILS_GENERATORS is set and show ↵José Valim2009-11-031-0/+1
| | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove --freeze (since Rails will come bundled in all new apps) and update ↵José Valim2009-11-031-11/+49
| | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Have config/application.rb contain the application definition and require ↵Carl Lerche2009-10-151-1/+1
| | | | that file instead of config/boot.rb or config/environment.rb in script/*.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+270