aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine
Commit message (Collapse)AuthorAgeFilesLines
* Inject Rails' channel paths in engine.Kasper Timm Hansen2016-02-141-0/+1
| | | | | | | | | | | | | We were explicitly referencing Rails.root in ActionCable::Server::Configuration.initialize, thereby coupling ourselves to Rails. Instead add `app/channels` to Rails' app paths and assign the existent files to `channel_paths`. Users can still append to those load paths with `<<` and `push` in `config/application.rb`. This means we can remove the custom `Dir` lookup in `channel_paths` and the Rails and root definitions in the tests.
* make rake proxy work in rails enginesyuuji.yaginuma2016-01-312-32/+119
|
* `config.generators` should be docummented since it is public APIRafael Mendonça França2015-10-221-1/+1
| | | | [ci skip]
* Stop modifying global variableseileencodes2015-09-291-6/+3
| | | | | | Allocating a new middleware proxy in each application configuration and then merging the app specific config with the global config when the app is built.
* make test runner work correctly inside engineyuuji.yaginuma2015-07-121-2/+4
|
* actually autoload all second-level directories called `app/*/concerns`Alex Robbin2014-12-261-4/+1
|
* Remove unused delegateKassio Borges2013-08-311-2/+0
| | | | Related with commit 4a2a504
* Removed deprecated `Rails.application.railties.engines`.Arun Agrawal2013-07-041-6/+0
|
* rails -> Rails [ci skip]Prathamesh Sonpatki2013-05-091-1/+1
|
* Revert "Deprecate the `eager_load_paths` configuration"Andrew White2013-02-191-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` configurationAndrew White2013-01-241-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#enginesTim Raymond2013-01-031-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 Hansson2012-12-181-0/+9
| | | | directory structure and load path
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-15/+15
|
* removes usage of Object#in? from the code base (the method remains defined ↵Xavier Noria2012-08-061-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é Valim2012-06-291-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 goneJosé Valim2012-06-291-26/+0
|
* Revert "require the constants we use. ensure that root always returns a ↵Aaron Patterson2012-05-231-2/+1
| | | | | | Pathname" This reverts commit d77b576c0330d8b1c6189cb94814382ce32baab6.
* require the constants we use. ensure that root always returns a PathnameAaron Patterson2012-05-231-1/+2
|
* Merge pull request #3359 from mrreynolds/datamapper_naming_fixRafael Mendonça França2012-05-191-1/+1
|\ | | | | Fixed DataMapper namings in symbols and constants.
| * Fixed DataMapper namings in symbols and constants.Robert Glaser2011-10-181-1/+1
| |
* | Give more detailed instructions in script/rails in enginePiotr Sarnacki2012-05-041-0/+4
| | | | | | | | closes #4894
* | Make files in paths consistentYehuda Katz2012-04-251-1/+1
| |
* | Allow loading external route files from the routerJose and Yehuda2012-04-251-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 goneSantiago Pastorino2012-01-032-10/+1
| |
* | fix nodocsVijay Dev2011-12-091-1/+1
|/
* Add destroy alias to enginesGuillermo Iguaran2011-08-221-2/+3
|
* Use namespace if it's a mountable engineStefan Sprenger2011-06-071-0/+1
|
* Add destroy to engine's commandsStefan Sprenger2011-05-271-2/+3
|
* Move requiring engine out of the switch caseStefan Sprenger2011-05-271-4/+3
|
* Introducing engine commandsStefan Sprenger2011-05-261-0/+37
|
* Need it declared tooDavid Heinemeier Hansson2011-05-101-0/+1
|
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-151-8/+1
|
* Booya, sprockets now works from Engines.José Valim2011-04-151-0/+2
|
* Rails::Engine.find(path) - method to find engine by pathPiotr Sarnacki2010-12-091-0/+10
|
* Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-021-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 Sarnacki2010-11-021-0/+1
| | | | to manually set it
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-062-23/+22
| | | | method_missing.
* Deprecate generators in Railties. You should use app_generators instead.José Valim2010-10-021-3/+25
|
* Add helper for loading seed data for engine and applicationPiotr Sarnacki2010-09-201-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Include all helpers from non-namespaced enginesPiotr Sarnacki2010-09-031-0/+1
|
* Get rid of static_paths method and instead configure paths for ↵Piotr Sarnacki2010-09-031-0/+4
| | | | ActionDispatch::Static in initializers
* Added Rails.application.config.paths.db.migrate to remove hardcoded ↵Piotr Sarnacki2010-09-031-0/+2
| | | | db/migrate paths
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-1/+1
|
* Move singleton pattern to Railtie and remove Engine::Configurable and ↵Piotr Sarnacki2010-09-031-31/+0
| | | | Application::Configurable in favor of unified Railtie::Configurable
* Allow Engines loading its own environment file from config/environmentsPiotr Sarnacki2010-09-031-0/+1
|
* Removed ActionDispatch::Static, but left empty MiddlewareStack to unify app ↵Piotr Sarnacki2010-09-032-7/+1
| | | | method between Engine and Application
* Engine can now serve files with ActionDispatch::StaticPiotr Sarnacki2010-09-031-2/+3
|
* Engine can now load its own pluginsPiotr Sarnacki2010-09-032-1/+26
|
* Made Engine valid rack app with its own middleware stackPiotr Sarnacki2010-09-032-1/+14
|