Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | actually autoload all second-level directories called `app/*/concerns` | Alex Robbin | 2014-12-26 | 1 | -4/+1 |
| | |||||
* | Remove unused delegate | Kassio Borges | 2013-08-31 | 1 | -2/+0 |
| | | | | Related with commit 4a2a504 | ||||
* | Removed deprecated `Rails.application.railties.engines`. | Arun Agrawal | 2013-07-04 | 1 | -6/+0 |
| | |||||
* | rails -> Rails [ci skip] | Prathamesh Sonpatki | 2013-05-09 | 1 | -1/+1 |
| | |||||
* | Revert "Deprecate the `eager_load_paths` configuration" | Andrew White | 2013-02-19 | 1 | -15/+9 |
| | | | | | | | | | | | Because of the possibility of lib being unintentionally eager loaded it's been agreed that we'll leave autoload paths and eager load paths separate for Rails 4.0. This reverts commit 0757b3388ffe4f44b60de950d40e18ef05055931. Conflicts: railties/CHANGELOG.md | ||||
* | Deprecate the `eager_load_paths` configuration | Andrew White | 2013-01-24 | 1 | -9/+15 |
| | | | | | | | | | | Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded. | ||||
* | Adding Back Rails::Engine::Railties#engines | Tim Raymond | 2013-01-03 | 1 | -0/+29 |
| | | | | | Removing it breaks functionality with gems such as Thinking Sphinx. This restores it with a deprecation warning. Closes #8551 | ||||
* | Add app/models/concerns and app/controllers/concerns to the default ↵ | David Heinemeier Hansson | 2012-12-18 | 1 | -0/+9 |
| | | | | directory structure and load path | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -15/+15 |
| | |||||
* | removes usage of Object#in? from the code base (the method remains defined ↵ | Xavier Noria | 2012-08-06 | 1 | -3/+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. | ||||
* | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 1 | -1/+0 |
| | | | | | | | | | | | | | | 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 | ||||
* | Remove unnecessary Railties structure now that plugins are gone | José Valim | 2012-06-29 | 1 | -26/+0 |
| | |||||
* | Revert "require the constants we use. ensure that root always returns a ↵ | Aaron Patterson | 2012-05-23 | 1 | -2/+1 |
| | | | | | | Pathname" This reverts commit d77b576c0330d8b1c6189cb94814382ce32baab6. | ||||
* | require the constants we use. ensure that root always returns a Pathname | Aaron Patterson | 2012-05-23 | 1 | -1/+2 |
| | |||||
* | Merge pull request #3359 from mrreynolds/datamapper_naming_fix | Rafael Mendonça França | 2012-05-19 | 1 | -1/+1 |
|\ | | | | | Fixed DataMapper namings in symbols and constants. | ||||
| * | Fixed DataMapper namings in symbols and constants. | Robert Glaser | 2011-10-18 | 1 | -1/+1 |
| | | |||||
* | | Give more detailed instructions in script/rails in engine | Piotr Sarnacki | 2012-05-04 | 1 | -0/+4 |
| | | | | | | | | closes #4894 | ||||
* | | Make files in paths consistent | Yehuda Katz | 2012-04-25 | 1 | -1/+1 |
| | | |||||
* | | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 2 | -10/+1 |
| | | |||||
* | | fix nodocs | Vijay Dev | 2011-12-09 | 1 | -1/+1 |
|/ | |||||
* | Add destroy alias to engines | Guillermo Iguaran | 2011-08-22 | 1 | -2/+3 |
| | |||||
* | Use namespace if it's a mountable engine | Stefan Sprenger | 2011-06-07 | 1 | -0/+1 |
| | |||||
* | Add destroy to engine's commands | Stefan Sprenger | 2011-05-27 | 1 | -2/+3 |
| | |||||
* | Move requiring engine out of the switch case | Stefan Sprenger | 2011-05-27 | 1 | -4/+3 |
| | |||||
* | Introducing engine commands | Stefan Sprenger | 2011-05-26 | 1 | -0/+37 |
| | |||||
* | Need it declared too | David Heinemeier Hansson | 2011-05-10 | 1 | -0/+1 |
| | |||||
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -8/+1 |
| | |||||
* | Booya, sprockets now works from Engines. | José Valim | 2011-04-15 | 1 | -0/+2 |
| | |||||
* | Rails::Engine.find(path) - method to find engine by path | Piotr Sarnacki | 2010-12-09 | 1 | -0/+10 |
| | |||||
* | Make deep copy of application generators on engine initialization. | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes. | ||||
* | Use application's generators defaults as engine defaults to not force users ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 |
| | | | | to manually set it | ||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 2 | -23/+22 |
| | | | | method_missing. | ||||
* | Deprecate generators in Railties. You should use app_generators instead. | José Valim | 2010-10-02 | 1 | -3/+25 |
| | |||||
* | Add helper for loading seed data for engine and application | Piotr Sarnacki | 2010-09-20 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Include all helpers from non-namespaced engines | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 |
| | |||||
* | Get rid of static_paths method and instead configure paths for ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+4 |
| | | | | ActionDispatch::Static in initializers | ||||
* | Added Rails.application.config.paths.db.migrate to remove hardcoded ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+2 |
| | | | | db/migrate paths | ||||
* | Added ability to set asset_path for engines | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Move singleton pattern to Railtie and remove Engine::Configurable and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -31/+0 |
| | | | | Application::Configurable in favor of unified Railtie::Configurable | ||||
* | Allow Engines loading its own environment file from config/environments | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 |
| | |||||
* | Removed ActionDispatch::Static, but left empty MiddlewareStack to unify app ↵ | Piotr Sarnacki | 2010-09-03 | 2 | -7/+1 |
| | | | | method between Engine and Application | ||||
* | Engine can now serve files with ActionDispatch::Static | Piotr Sarnacki | 2010-09-03 | 1 | -2/+3 |
| | |||||
* | Engine can now load its own plugins | Piotr Sarnacki | 2010-09-03 | 2 | -1/+26 |
| | |||||
* | Made Engine valid rack app with its own middleware stack | Piotr Sarnacki | 2010-09-03 | 2 | -1/+14 |
| | |||||
* | Revert "Put lib back on the autoload path" | José Valim | 2010-08-04 | 1 | -1/+1 |
| | | | | | | This was causing engines/gems to eager load everything in lib. Another fix is comming soon. This reverts commit 02a5842cd09bd75de4c2fdb6b474c6c0ff163ebf. | ||||
* | Put lib back on the autoload path | wycats | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Add a header that tells Internet Explorer (all versions) to use the best ↵ | wycats | 2010-07-27 | 1 | -1/+1 |
| | | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client. | ||||
* | A few changes were done in this commit: | José Valim | 2010-06-28 | 1 | -2/+2 |
| | | | | | | * 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; | ||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -5/+5 |
| |