aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* :fire: Rails asset id supportJoshua Peek2012-10-151-8/+0
|
* Refactor AssetUrlHelper to make it friendly for plugins and extensionsJoshua Peek2012-10-121-1/+1
| | | | | | | | Add asset_path/url helper for a consolidated entry point Expose compute_asset_path as a public API Expose compute_asset_host as a public API Move RAILS_ASSET_ID to its own module, AssetIdHelper Removed AV::AssetPaths
* Remove expansion configJoshua Peek2012-10-101-2/+0
|
* Remove old asset tag concatenationJoshua Peek2012-10-101-12/+0
| | | | Use sprockets, jammit, or some other asset bundler
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-0/+2
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* config.action_view.embed_authenticity_token_in_remote_forms is true by defaultPiotr Sarnacki2012-03-281-1/+1
| | | | | | | Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms` to `false`. This change breaks remote forms that need to work also without javascript, so if you need such behavior, you can either set it to `true` or explicitly pass `:authenticity_token => true` in form options
* Added config.action_view.embed_authenticity_token_in_remote_formsPiotr Sarnacki2012-03-281-0/+8
| | | | | | | | | | | | There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default) Conflicts: actionpack/CHANGELOG.md
* 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