aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/application.rb
Commit message (Collapse)AuthorAgeFilesLines
* Extend IRB right before starting IRB to remove dependency on IRB from ↵Akira Matsuda2011-11-101-2/+0
| | | | Rails::Application
* Modulize Rails console methods so that other console libraries such as Pry ↵Akira Matsuda2011-11-091-0/+2
| | | | can include these methods
* Unify logger and taggedlogging middleware as both address logging concerns.José Valim2011-10-191-2/+1
|
* Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵David Heinemeier Hansson2011-10-191-0/+2
| | | | production concerns
* :group => :assets should only run in the assets environment.José Valim2011-10-021-1/+1
|
* Make the Rack::SSL middleware configurableJustin Leitgeb2011-09-261-1/+1
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-241-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 startupAaron Patterson2011-08-241-0/+5
|
* Don't use Rack::Sendfile middleware if x_sendfile_header is not presentSantiago Pastorino2011-08-131-1/+3
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-231-1/+1
|\
| * grammar/tense correction to rails application docMatt Jankowski2011-07-121-1/+1
| |
* | Rails.application#env_config is now public API. [Closes #1924]Franck Verrot2011-07-111-0/+9
|/
* Cherry-picking patch for https://github.com/rails/rails/issues/1460Joseph Wong2011-06-161-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_generatorJosé Valim2011-06-091-12/+0
|\ | | | | Fix engine's generator
| * Move load_generators from Rails::Application to Rails::EngineStefan Sprenger2011-05-261-12/+0
| |
* | Fixing Rails::Server#app under Rack::URLMapGuillermo Iguaran2011-06-071-0/+4
|/
* Everyone receives app as argument for consistency.José Valim2011-05-251-6/+8
|
* Streamline generators initialization flow.José Valim2011-05-251-3/+3
|
* Update generator config to support hiding namespaces and pass the app into ↵wycats2011-05-241-2/+3
| | | | generator blocks
* Move content length to the server, this brings the same behavior as in rack 1.2.José Valim2011-05-231-2/+0
|
* Make Rake::DSL methods available within Railtie rake_tasks blockPatrick Quinn2011-05-201-4/+6
| | | | Fixes incompatibility introduced by Rake 0.9.0
* Temporarily ship with ContentLength middleware.José Valim2011-05-201-1/+1
|
* Use Rack::ContentLength.José Valim2011-05-191-0/+2
|
* always enable `pp` on the Rails consoleAkira Matsuda2011-05-181-0/+1
|
* Logs should show overridden method; Issue 426David Lee2011-05-071-3/+3
|
* Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵José Valim2011-05-041-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é Valim2011-05-031-1/+1
| | | | Should improve performance in acceptance tests.
* Move app initializers to sprockets railtie.José Valim2011-04-171-9/+0
|
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-151-1/+1
|
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-151-7/+1
|
* Booya, sprockets now works from Engines.José Valim2011-04-151-32/+8
|
* Move to app/assets in anticipation of image support being added as well. ↵David Heinemeier Hansson2011-04-131-2/+4
| | | | Also add vendor/assets to default load path
* Index sprockets environment if perform caching is enabledJoshua Peek2011-04-121-0/+1
|
* Fix assets prefix joiningJoshua Peek2011-03-301-1/+1
|
* Fix assets prefix joiningJoshua Peek2011-03-301-1/+1
|
* Unify sprockets config optionsJoshua Peek2011-03-301-11/+13
|
* Merge branch 'master' into sprocketsJoshua Peek2011-03-301-4/+13
|\ | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵Prem Sichanugrist2011-03-271-4/+13
| | | | | | | | | | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
* | Rename option to config.asset_pipelineJoshua Peek2011-03-291-11/+13
| |
* | Move sprockets initializers back to applicationJoshua Peek2011-03-291-0/+27
| |
* | Add route for assetsJoshua Peek2011-03-281-34/+0
| |
* | Change static root to /publicJoshua Peek2011-03-221-1/+1
| |
* | Move app/javascripts and app/stylesheets under app/assetsJoshua Peek2011-03-221-6/+6
| |
* | Remove ensure_fresh_assets flagJoshua Peek2011-03-221-1/+0
| |
* | Assign sprockets static rootJoshua Peek2011-03-221-0/+1
| |
* | Add sprockets environment to ApplicationJoshua Peek2011-03-211-0/+34
|/
* Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]Prem Sichanugrist2011-02-251-1/+1
| | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
* Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-251-1/+2
| | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* Application's assets should have higher priority than engine's onesPiotr Sarnacki2011-02-091-1/+4
| | | | [#6388 state:resolved]
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>