Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -3/+3 |
| | |||||
* | Remove unneeded attr_reader | Rafael Mendonça França | 2012-10-07 | 1 | -1/+0 |
| | |||||
* | 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 pull request #6910 from mulder/fix_path_glob | José Valim | 2012-07-01 | 1 | -1/+2 |
|\ | | | | | Persist glob when replacing a path | ||||
| * | Persist glob when replacing a path | Nicholas Mulder | 2012-06-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Rails::Paths::Root's []= is used to replace a path it should persist the previous path's glob. Without passing the glob along we get gnarly bugs when trying to wire up things like engines. module FooEngine class Engine < ::Rails::Engine isolate_namespace FooEngine config.paths['config/initializers'] = "lib/foo_engine/initializers" end end ## Example of behaviour before this commit. # # Before the initializer override: >> FooEngine::Engine.config.paths["config/initializers"].glob => "**/*.rb" # After the initializer override: >> FooEngine::Engine.config.paths["config/initializers"].glob => nil ## Example of behaviour after this commit. # # Before the initializer override: >> FooEngine::Engine.config.paths["config/initializers"].glob => "**/*.rb" # After the initializer override: >> FooEngine::Engine.config.paths["config/initializers"].glob => "**/*.rb" | ||||
* | | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 1 | -9/+1 |
|/ | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb | ||||
* | removing more pathnameisms | Aaron Patterson | 2012-05-23 | 1 | -3/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-28 | 1 | -1/+1 |
|\ | |||||
| * | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+ | Mark Rushakof | 2012-04-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+) | ||||
* | | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 1 | -1/+11 |
|/ | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications. | ||||
* | warning removed: `&' interpreted as argument prefix | Arun Agrawal | 2012-03-31 | 1 | -1/+1 |
| | |||||
* | Define Paths::Root#[]= in terms of #add. | Ben Woosley | 2012-03-29 | 1 | -2/+1 |
| | |||||
* | Drop Paths::Root initializer check of #path as it isn't checked in the ↵ | Ben Woosley | 2012-03-29 | 1 | -1/+0 |
| | | | | #path= or anywhere else | ||||
* | Drop unnecessary require in Rails::Paths | Ben Woosley | 2012-03-29 | 1 | -2/+0 |
| | |||||
* | favor composition over inheritance | Aaron Patterson | 2012-03-26 | 1 | -5/+20 |
| | |||||
* | favor composition over inheritance | Aaron Patterson | 2012-03-26 | 1 | -7/+29 |
| | |||||
* | still need to ensure the path is a directory | Aaron Patterson | 2012-03-26 | 1 | -1/+1 |
| | |||||
* | eliminating a branch we do not need. thanks @jeremy | Aaron Patterson | 2012-03-26 | 1 | -30/+3 |
| | |||||
* | stop using *args in order to simplify our constructor | Aaron Patterson | 2012-03-26 | 1 | -5/+4 |
| | |||||
* | Don't depend on ivars. Thanks @fesplugas | Aaron Patterson | 2012-03-26 | 1 | -1/+1 |
| | |||||
* | chdir before globbing so that we don't need to escape directory names. | Aaron Patterson | 2012-03-23 | 1 | -1/+30 |
| | | | | fixes #5521 | ||||
* | use File.directory? as Dir.exists? is only 1.9.2+ | Aaron Patterson | 2011-08-01 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2324 from zenapsis/3-1-stable | Santiago Pastorino | 2011-08-01 | 1 | -0/+4 |
| | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-23 | 1 | -9/+9 |
|\ | |||||
| * | little details seen while doing a pass through what's new in docrails | Xavier Noria | 2011-07-23 | 1 | -8/+8 |
| | | |||||
| * | grammar correction for rails/paths #add method arguments | Matt Jankowski | 2011-07-12 | 1 | -2/+2 |
| | | |||||
* | | Ensure Dir.glob is sorted | Joshua Peek | 2011-07-11 | 1 | -1/+1 |
|/ | |||||
* | fix Rails::Paths::Root document | Jan Xie | 2011-05-25 | 1 | -4/+3 |
| | |||||
* | Removing deprecated config.paths.app.controller API | Guillermo Iguaran | 2011-05-24 | 1 | -26/+0 |
| | |||||
* | commented meta code | Vijay Dev | 2011-05-04 | 1 | -11/+11 |
| | |||||
* | formatting results in comments | Vijay Dev | 2011-05-04 | 1 | -8/+8 |
| | |||||
* | Initialize these options as false if they are not given | Santiago Pastorino | 2011-01-09 | 1 | -4/+4 |
| | |||||
* | Fixes typo | Rafael Mendonça França | 2010-10-06 | 1 | -2/+2 |
| | |||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -49/+103 |
| | | | | method_missing. | ||||
* | Add skip_eager_load!, skip_autoload! and friends to path objects. | José Valim | 2010-07-17 | 1 | -28/+12 |
| | |||||
* | A few changes were done in this commit: | José Valim | 2010-06-28 | 1 | -20/+31 |
| | | | | | | * Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7; * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins); * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController; | ||||
* | Remove app/views from the load paths [#4226 state:resolved] | José Valim | 2010-04-05 | 1 | -5/+17 |
| | |||||
* | Solve some pendencies. | José Valim | 2010-01-24 | 1 | -9/+14 |
| | |||||
* | Move configuration to subfolders. | José Valim | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | First steps into making Plugin < Engine. | José Valim | 2010-01-23 | 1 | -1/+2 |
| | |||||
* | Got tests working once again. | José Valim | 2010-01-22 | 1 | -10/+8 |
| | |||||
* | Refactor plugins | Yehuda Katz + Carl Lerche | 2009-11-11 | 1 | -1/+5 |
| | |||||
* | Have Rails.root be based off of config.ru | Carl Lerche | 2009-10-14 | 1 | -1/+0 |
| | |||||
* | Make rails configuration's path object's root lazy | Yehuda Katz + Carl Lerche | 2009-10-14 | 1 | -4/+7 |
| | |||||
* | Reapply Rails::Application::Path tweaks | Yehuda Katz + Carl Lerche | 2009-07-06 | 1 | -15/+25 |
| | | | | | Reapplies: a4bdc00fec623f72592e663e6d7830eea0bc6ea4 3c1dab72259d01c6335bf359d7f9b3af69d45bb4 | ||||
* | Revert "Modify the Rails::Application::Path object to allow for more concise ↵ | Pratik Naik | 2009-07-03 | 1 | -25/+15 |
| | | | | | | | | path definition." This reverts commit 913bb2f4c2feb79dcbc9ed2c0fb1ef6d436f7d02. Reason : The server does not start | ||||
* | Modify the Rails::Application::Path object to allow for more concise path ↵ | Yehuda Katz + Carl Lerche | 2009-07-02 | 1 | -15/+25 |
| | | | | definition. | ||||
* | Add #concat to Rails::Application::Path | Carl Lerche | 2009-06-30 | 1 | -0/+4 |
| | |||||
* | Starting to replace scattered path configuration settings with the path object | Yehuda Katz + Carl Lerche | 2009-06-26 | 1 | -4/+39 |
| |