Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace map.flatten with flat_map in railties | Erik Michaels-Ober | 2014-03-04 | 1 | -1/+1 |
| | |||||
* | Improve font of some code in API documentation [ci skip] | Chun-wei Kuo | 2013-12-26 | 1 | -8/+8 |
| | | | | | * Add "<tt>" or "+" to improve font of some code and filenames in API documentation * Does not contain wording changes | ||||
* | Revert "Used Yield instead of block.call" -- this causes all of ↵ | David Heinemeier Hansson | 2013-11-14 | 1 | -2/+2 |
| | | | | | | atom_feed_helper_test.rb to fail with "SystemStackError: stack level too deep". This reverts commit d3a1ce1cdc60d593de1682c5f4e3230c8db9a0fd. | ||||
* | Used Yield instead of block.call | Kuldeep Aggarwal | 2013-11-15 | 1 | -2/+2 |
| | |||||
* | Removing the app constant and replacing it with Rails.application | wangjohn | 2013-04-30 | 1 | -1/+1 |
| | | | | | syntax. This helps removing the class level abstraction of an application. | ||||
* | Change default root route helper | Kohei Hasegawa | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Initialize instance variable to remove warning | Carlos Antonio da Silva | 2013-01-07 | 1 | -0/+4 |
| | | | | actions.rb:34: warning: instance variable @in_group not initialized | ||||
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 1 | -1/+1 |
| | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' | ||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 1 | -1/+1 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -22/+22 |
| | |||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-23 | 1 | -2/+1 |
|\ | |||||
| * | Remove obsolete comment from generator gem method | Alexey Vakhov | 2012-05-22 | 1 | -2/+1 |
| | | | | | | | | | | This comment about :env option for gem method was actual for rails 2.3 without bundler. Now bundler uses grups for this goal. | ||||
* | | Use new hash syntax for generators gem method | Alexey Vakhov | 2012-05-22 | 1 | -1/+1 |
|/ | | | | | | The Gemfile of new application uses ruby 1.9 hashes. Gem method of generators should use them too. It prevents from mixing two kinds of syntax in one file. | ||||
* | Removing ==Examples and last blank lines of docs from railties | Francesco Rodriguez | 2012-05-14 | 1 | -42/+0 |
| | |||||
* | minor fixes [ci skip] | Vijay Dev | 2012-04-05 | 1 | -2/+2 |
| | |||||
* | added example, removed blank lines | Hrvoje Šimić | 2012-04-04 | 1 | -4/+13 |
| | |||||
* | Correct invalid route example [ci skip] | Cezary Baginski | 2012-04-02 | 1 | -1/+1 |
| | |||||
* | Fixes #4764 - remove generated new line in routes.rb on scaffold generation | Vijay Dev | 2012-01-31 | 1 | -1/+1 |
| | | | | | | | | | As explained in #4764, when destroying a scaffold, routes.rb loses a new line. This seems to happen because a new line is added while generating the route and the destroy generator removes it. However, this causes a problem if the routes file is manually edited to remove such new lines. This commit just removes that extra new line from added in the first place. | ||||
* | No need to check for 'draw do |map|' anymore | Piotr Sarnacki | 2012-01-07 | 1 | -1/+1 |
| | |||||
* | use Kernel#Array instead of Array.wrap in Rails::Generators::Actions | Sergey Nartimov | 2012-01-06 | 1 | -2/+1 |
| | |||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -34/+0 |
| | |||||
* | Merge pull request #4221 from tonycoco/master | Jon Leighton | 2011-12-28 | 1 | -0/+1 |
|\ | | | | | Rails template creation issue | ||||
| * | Update railties/lib/rails/generators/actions.rb | Tony Coconate | 2011-12-28 | 1 | -0/+1 |
| | | |||||
* | | Updating newline fix to maintain existing linebreaks and indentation and ↵ | John Donahue | 2011-11-25 | 1 | -3/+4 |
| | | | | | | | | test for b/eol on inserts | ||||
* | | Added tests for #3751 | ganesh | 2011-11-25 | 1 | -1/+1 |
|/ | |||||
* | warning removed : '&' interpreted as argument prefix | Arun Agrawal | 2011-09-30 | 1 | -1/+1 |
| | |||||
* | Honour RAILS_ENV environment variable when running rake. | Dmitriy Kiriyenko | 2011-09-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2841 from wojtekmach/app-generators-group | José Valim | 2011-09-04 | 1 | -1/+26 |
|\ | | | | | Add gem group support to generators | ||||
| * | Add gem_group support to generators | Wojciech Mach | 2011-09-04 | 1 | -1/+26 |
| | | |||||
* | | Warnings removed for using shadow variable. | Arun Agrawal | 2011-09-04 | 1 | -2/+2 |
|/ | |||||
* | fix indent for generator environment method | Alexey Vakhov | 2011-09-02 | 1 | -1/+1 |
| | |||||
* | Fix Rails::Generators::Actions#environment when env is passed. Closes #2110 | Guillermo Iguaran | 2011-07-18 | 1 | -2/+3 |
| | |||||
* | Removed warnings about shadowing variables | Alexey Gaziev | 2011-06-20 | 1 | -4/+4 |
| | |||||
* | parenthesize the arguments with splat | Akira Matsuda | 2011-05-18 | 1 | -1/+1 |
| | | | | to make sure we're not calling the :* operator | ||||
* | log and readme should respect --quiet | José Valim | 2011-03-04 | 1 | -3/+4 |
| | |||||
* | For templates' gem method, :env is deprecated, use :group instead | Ryan Bigg | 2010-12-01 | 1 | -1/+1 |
| | |||||
* | Fixing two minor errors in Rails::Generators::Actions initializer method ↵ | Juan Maiz | 2010-10-08 | 1 | -2/+2 |
| | | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove deprecation warnings in railties | Carlos Antonio da Silva | 2010-09-06 | 1 | -25/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -2/+2 |
| | |||||
* | Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵ | Santiago Pastorino | 2010-08-02 | 1 | -1/+1 |
| | | | | | | using the deprecated syntax [#5263 state:committed] | ||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -2/+2 |
| | |||||
* | Fixed typo in Rails::Generators::Base [#5051 state:resolved] | Mark Hayes | 2010-07-06 | 1 | -1/+1 |
| | |||||
* | Make the sentinel flag for route a bit more robust. | José Valim | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | Bundler deprecated options in Gemfile with application template using method ↵ | Adrian Sanchez | 2010-05-15 | 1 | -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 Wadghule | 2010-04-26 | 1 | -2/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | #add_source: Fixed docco + added required newline to line added to Gemfile | Dr Nic Williams | 2010-02-26 | 1 | -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é Valim | 2010-02-17 | 1 | -0/+10 |
| | |||||
* | Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵ | Michael Bleigh | 2010-02-10 | 1 | -1/+1 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> |