aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-1/+0
| | | | the update action of resources
* Only set ActionView configuration inside the on_load blockRafael Mendonça França2012-02-221-1/+1
|
* Add config.default_method_for_update to support PATCHDavid Lee2012-02-221-0/+1
| | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* ActionView now has its own loggerRafael Mendonça França2012-01-181-0/+4
|
* restores the -j option, but now it accepts the name of any libraryXavier Noria2011-05-041-1/+1
| | | | | | If passed "foo", a gem "foo-rails" is added to the Gemfile and "foo" and "foo_ujs" are required in the application JavaScript manifest.
* jQuery is the new defaultXavier Noria2011-04-131-1/+1
|
* Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-161-1/+9
|
* changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to ↵Josh Kalderimis2010-11-161-2/+2
| | | | the new public api, and updated the railtie
* corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵Josh Kalderimis2010-11-161-1/+1
| | | | merged asset id caching and asset paths together.
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-3/+0
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Tidy up asset tag a bit and make railties tests green again.José Valim2010-06-231-3/+8
|
* refactored the javascript asset tag helpers and moved the default scripts ↵Josh Kalderimis2010-06-231-0/+9
| | | | | | setup within the railtie Signed-off-by: José Valim <jose.valim@gmail.com>
* Added title to some other files in actionpack/lib/action_viewRizwan Reza2010-06-161-0/+1
|
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-291-2/+2
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+10
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-1/+3
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-2/+2
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-0/+6
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-1/+10
|
* Some railties cleanup:Carl Lerche2009-12-311-0/+2
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin