Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+11 |
| | |||||
* | Fix railties_order when application object is passed | Piotr Sarnacki | 2012-05-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | railites_order method, introduced in 40b19e0, had a bug that was causing loading application instance twice in initializers if railties_order already included application instance. So for example railties_order = [Foo::Engine, :main_app, Bar::Engine] would result in such railties array: [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine] In order to fix it, we need to check for existence of application in both railties_order and railties arrays. | ||||
* | use File.join to decrease dependencies on Pathname | Aaron Patterson | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | initialize instance variables | Aaron Patterson | 2012-05-22 | 1 | -2/+6 |
| | |||||
* | Allow configuring a different queue consumer | Carlos Antonio da Silva | 2012-05-04 | 1 | -1/+1 |
| | | | | | | Also make sure to not use default queue consumer with custom queue implementation. It is up to the new queue implementation to start / shutdown the consumer. | ||||
* | Define only writer method for queue, as reader is declared | Carlos Antonio da Silva | 2012-04-28 | 1 | -1/+2 |
| | | | | Remove deprecation warning of method redefined. | ||||
* | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -1/+5 |
| | | | | queues | ||||
* | Initial queue implementation | Yehuda Katz | 2012-04-26 | 1 | -1/+5 |
| | |||||
* | Remove not needed requires | Santiago Pastorino | 2012-03-31 | 1 | -1/+0 |
| | |||||
* | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -0/+4 |
| | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | ||||
* | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -2/+1 |
| | |||||
* | Remove remaining http_only? calls. | José Valim | 2012-03-14 | 1 | -4/+4 |
| | |||||
* | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -4/+4 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -4/+4 |
| | |||||
* | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 1 | -4/+4 |
| | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile) | ||||
* | Reverted build_original_fullpath method, as per discussion at ↵ | Nathan Broadbent | 2012-01-28 | 1 | -1/+9 |
| | | | | https://github.com/rails/rails/pull/4470/files#r393461 | ||||
* | Refactored watchable_args and build_original_fullpath methods in ↵ | Nathan Broadbent | 2012-01-15 | 1 | -13/+2 |
| | | | | railties/lib/rails/application.rb | ||||
* | config.force_ssl should mark the session as secure. | José Valim | 2012-01-13 | 1 | -0/+3 |
| | |||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -3/+2 |
| | |||||
* | A few doc changes | Vijay Dev | 2011-12-24 | 1 | -9/+2 |
| | |||||
* | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2011-12-21 | 1 | -0/+17 |
| | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH | ||||
* | Allow a custom exceptions app to set. | José Valim | 2011-12-16 | 1 | -1/+1 |
| | |||||
* | Extract the rendering of public exceptions pages into a Rack app. | José Valim | 2011-12-16 | 1 | -1/+1 |
| | |||||
* | Fix diagnostics page for routing errors. | José Valim | 2011-12-15 | 1 | -0/+1 |
| | |||||
* | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -1/+1 |
| | |||||
* | Move hooks back to initializers (we need an API that allows hooks to be ↵ | José Valim | 2011-12-13 | 1 | -32/+0 |
| | | | | replaced). | ||||
* | Add config.file_watcher so developers can provide their own watchers (for ↵ | José Valim | 2011-12-13 | 1 | -2/+1 |
| | | | | instance, hooking on fsevents). | ||||
* | Revert "Provide a unique point for running initializers." | José Valim | 2011-12-13 | 1 | -5/+5 |
| | | | | | | | | | | This reverts commit c2e3ce8d1e1174e66536d59d8d97eb2cc8ce6f25. Conflicts: railties/lib/rails/application/configuration.rb railties/lib/rails/application/finisher.rb railties/lib/rails/engine.rb | ||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -2/+38 |
| | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | ||||
* | Give hooks the flexibility to choose the type of callback. | José Valim | 2011-12-12 | 1 | -7/+9 |
| | |||||
* | Provide a unique point for running initializers. | José Valim | 2011-12-12 | 1 | -4/+5 |
| | |||||
* | Improve docs for Rails::Application and add routes_reloader_hook and ↵ | José Valim | 2011-12-12 | 1 | -8/+55 |
| | | | | app_reloader_hooks. | ||||
* | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 1 | -0/+3 |
| | |||||
* | put backtrace_cleaner to env | lest | 2011-11-28 | 1 | -1/+2 |
| | |||||
* | middlewares should use logger from env | lest | 2011-11-25 | 1 | -1/+2 |
| | |||||
* | Allow to change engine's loading priority with config.railties_order= | Piotr Sarnacki | 2011-11-23 | 1 | -0/+22 |
| | |||||
* | Rely on a public contract between railties instead of accessing railtie ↵ | José Valim | 2011-11-23 | 1 | -0/+4 |
| | | | | methods directly. | ||||
* | add ActionController::Metal#show_detailed_exceptions? | lest | 2011-11-22 | 1 | -1/+1 |
| | |||||
* | Extend IRB right before starting IRB to remove dependency on IRB from ↵ | Akira Matsuda | 2011-11-10 | 1 | -2/+0 |
| | | | | Rails::Application | ||||
* | Modulize Rails console methods so that other console libraries such as Pry ↵ | Akira Matsuda | 2011-11-09 | 1 | -0/+2 |
| | | | | can include these methods | ||||
* | Unify logger and taggedlogging middleware as both address logging concerns. | José Valim | 2011-10-19 | 1 | -2/+1 |
| | |||||
* | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -0/+2 |
| | | | | production concerns | ||||
* | :group => :assets should only run in the assets environment. | José Valim | 2011-10-02 | 1 | -1/+1 |
| | |||||
* | Make the Rack::SSL middleware configurable | Justin Leitgeb | 2011-09-26 | 1 | -1/+1 |
| | |||||
* | `rake assets:precompile` loads the application but does not initialize it. | José Valim | 2011-09-24 | 1 | -3/+2 |
| | | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb | ||||
* | dealing with some -w warnings on startup | Aaron Patterson | 2011-08-24 | 1 | -0/+5 |
| | |||||
* | Don't use Rack::Sendfile middleware if x_sendfile_header is not present | Santiago Pastorino | 2011-08-13 | 1 | -1/+3 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-23 | 1 | -1/+1 |
|\ | |||||
| * | grammar/tense correction to rails application doc | Matt Jankowski | 2011-07-12 | 1 | -1/+1 |
| | | |||||
* | | Rails.application#env_config is now public API. [Closes #1924] | Franck Verrot | 2011-07-11 | 1 | -0/+9 |
|/ |