Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | config.force_ssl should mark the session as secure. | José Valim | 2012-01-13 | 1 | -0/+3 |
| | |||||
* | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2012-01-10 | 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 |
|/ | |||||
* | Cherry-picking patch for https://github.com/rails/rails/issues/1460 | Joseph Wong | 2011-06-16 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine. | ||||
* | Merge pull request #1356 from flippingbits/fix_engine_generator | José Valim | 2011-06-09 | 1 | -12/+0 |
|\ | | | | | Fix engine's generator | ||||
| * | Move load_generators from Rails::Application to Rails::Engine | Stefan Sprenger | 2011-05-26 | 1 | -12/+0 |
| | | |||||
* | | Fixing Rails::Server#app under Rack::URLMap | Guillermo Iguaran | 2011-06-07 | 1 | -0/+4 |
|/ | |||||
* | Everyone receives app as argument for consistency. | José Valim | 2011-05-25 | 1 | -6/+8 |
| | |||||
* | Streamline generators initialization flow. | José Valim | 2011-05-25 | 1 | -3/+3 |
| | |||||
* | Update generator config to support hiding namespaces and pass the app into ↵ | wycats | 2011-05-24 | 1 | -2/+3 |
| | | | | generator blocks | ||||
* | Move content length to the server, this brings the same behavior as in rack 1.2. | José Valim | 2011-05-23 | 1 | -2/+0 |
| | |||||
* | Make Rake::DSL methods available within Railtie rake_tasks block | Patrick Quinn | 2011-05-20 | 1 | -4/+6 |
| | | | | Fixes incompatibility introduced by Rake 0.9.0 | ||||
* | Temporarily ship with ContentLength middleware. | José Valim | 2011-05-20 | 1 | -1/+1 |
| | |||||
* | Use Rack::ContentLength. | José Valim | 2011-05-19 | 1 | -0/+2 |
| | |||||
* | always enable `pp` on the Rails console | Akira Matsuda | 2011-05-18 | 1 | -0/+1 |
| | |||||
* | Logs should show overridden method; Issue 426 | David Lee | 2011-05-07 | 1 | -3/+3 |
| | |||||
* | Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵ | José Valim | 2011-05-04 | 1 | -2/+1 |
| | | | | like Datamapper can also have their own sandboxing in rails console. | ||||
* | Add static_cache_control as configuration option and set a default for test. ↵ | José Valim | 2011-05-03 | 1 | -1/+1 |
| | | | | Should improve performance in acceptance tests. | ||||
* | Move app initializers to sprockets railtie. | José Valim | 2011-04-17 | 1 | -9/+0 |
| | |||||
* | Make static faster as we don't have to serve multiple paths anymore. | José Valim | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -7/+1 |
| |