This is because only template rendering works with streaming.
Setting it at the class level was also changing the behavior
of JSON and XML responses, closes#1337.
This makes "sprockets/railtie" explicit. This means that sprockets will
be loaded when you require "rails/all". If you are not using requiring
"rails/all", you need to manually load it with all other framework
railties.
In order to be complete, this commit also adds --skip-sprockets to
the rails generator.
* rails/3-1-stable: (49 commits)
Add JavaScript Runtime name to the Rails Info properties (thanks Sam Ruby)
Merge pull request #1481 from arunagw/lib_assets
Improve ordering of multiple columns on postgresql
judgement -> judgment, according to guidelines
Follow rails convention by using Array.wrap
Allow to specify mass-assignment roles as array
Apply the default scope earlier when doing calculations. Fixes#1682.
updated rspec link
grammar changes in named routes description and clarity around possibilities for options
font style changes in perf guide
grammar changes to log subscriber docs
move example code to be above reconfiguring discussion; add clarity about silencers and filters; misc grammar changes - for backtrace cleaners
Fixed typo
use present tense on examples
more detail on how the flow between redirect and show works, and minor grammar
remove extra space and clarify how an exception is made for controller wide layouts
reorder layout selection examples to occur in the order that the code does, and provide more detail on why each selection is made
singularize module and be explicit about what is delivered
grammar (missing "a") and formatting
elaborate details on why to use _url instead of _path in mailers
...
Conflicts:
actionpack/lib/action_view/helpers/asset_paths.rb
actionpack/lib/sprockets/helpers/rails_helper.rb
config.action_controller.default_asset_host_protocol
It's best to leave this unset.
When unset the :request protocol is used whenever it can be and
:relative is used in the other situations.
When set to :request then assets hosts will be disabled when there
is no request in scope and will use the request protocol whenever a
request is in scope.
If set to :relative, then a relative protocol is always used except
for stylesheet link tags which must use the :request protocol to
avoid double downloads in IE6&7.
* rails/3-1-stable: (68 commits)
Revert changes done in c56618ec, 51cb7459 and 030950a. The links are pointing to files/*/*.html for usage in api.rubyonrails.org and as a result are broken in GitHub blobs. This is unavoidable (at least for now).
copy-edits 7c2db6c, cbf2af1, and f391f94
Added 'Configuring Assets' section to configuring guide
Update remove_index documentation
Typo.
minor clean up generators section
add info that plugin installs need git or svn installed
document doc:* rake tasks
typo changes fixed
fixed typo chnages
add details on how to use specific annotations in rake:notes
document how rake notes work
The name for the plain text template in Rails3 appears to be method.text.erb, not, method.text.plain.erb. Updated the doc to reflect this change. Also fixed a reference to an example that was incorrect.
form => form_for
Tweak linebreak in ActionController::Redirecting doc
Updated rails´s guides on the config.serve_static_assets and it´s settings in production mode using WEBrick. This documentation has it´s roots in #issue1657. You have to set config.serve_static_assets to true in production mode with WEBrick as only this includes ActionDispatch::Static.
Improve documentation around status code argument of redirect_to
minor copy edit 0bdeddb
Jruby => JRuby, Mysql => MySQL
Moving hint down. As required after all database examples.
...