| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |/
| |/|
| | |
| | |
| | | |
addresses issue #1907 - any routes that follow a route with a constraints
block are inheriting the previous route's constraints.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Use shorter class-level File methods instead of going through File.stat
|
| |/ / |
|
|/ /
| |
| |
| | |
This brings back the ability to overwrite/extend url generating methods in application heleprs.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
English to
American English(according to Weber)
|
|\ \ \
| | | |
| | | | |
Fix issue 1951 master Namespaced model partial_path is wrong in namespaced controllers
|
| | | |
| | | |
| | | |
| | | | |
fix issues/1951
|
| | | |
| | | |
| | | |
| | | |
| | | | |
https://github.com/rails/rails/issues/1951
Namespaced model partial_path is wrong in namespaced controllers
|
|/ / / |
|
|/ /
| |
| | |
Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
|
| |
| |
| |
| |
| |
| | |
requests. Closes #2119
An xhr request must have an "Accept" or "Content-type" header in order to be considered a request with valid_accept_header.
|
| |
| |
| |
| |
| |
| | |
Needed to move AC::Metal::Instrumentation before AM::Metal::Rescue
so that status codes rendered from rescue_from blocks are logged
properly.
|
|\ \
| | |
| | | |
Fix a wrong assertion on url_helper_test, and add missing `#html_safe?` a
|
| |/
| |
| |
| | |
be in its method
|
|\ \
| |/
|/| |
Render partial invalid check
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I have found that Rails will take an invalid session ID specified by the
client and materialize a session based on that session ID. This means
that it is possible, among other things, for a client to use an
arbitrarily weak session ID or for a client to resurrect a previous used
session ID. In other words, we cannot guarantee that all session IDs are
generated by the server and that they are (statistically) unique through
time.
The fix is to always generate a new session ID in #get_session if an
existing session cannot be found under the incoming session ID.
Also added new tests that make sure that an invalid session ID is never
materialized into a new session, regardless of whether it comes in via a
cookie or a URL parameter (when :cookie_only => false).
|
|
|
|
| |
FormBuilder#select now works with a nested data structure.
|
| |
|
|
|
|
|
|
| |
That integer is rather irrelevant, the only thing that matters is that
it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times
faster than bytes.sum, so use that.
|
| |
|
|
|
|
| |
wildcard of the assets path because in ruby 1.9 is not consistent
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Refactor sprockets asset paths to allow for alternate asset environments
|
| | |
|
| |
| |
| | |
This fixes the problem of having a non-explicit message when the :location option is not provided in respond_with.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920.
Conflicts:
actionpack/lib/action_view/helpers/form_helper.rb
|
|\ \
| |/
|/| |
Fixed ActionView::FormOptionsHelper#select with :multiple => false
|
| | |
|
| | |
|
|/ |
|
|
|
| |
Removing gif from here because when it got unregister it start failing other places.
|
| |
|
|
|
|
| |
supplied (Issue #1847). Update tests & documentation.
|
|\
| |
| | |
Asset urls master
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Conflicts:
actionpack/lib/sprockets/helpers/rails_helper.rb
actionpack/test/template/sprockets_helper_test.rb
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
download of stylesheets in IE7 and IE8.
Conflicts:
actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
actionpack/lib/sprockets/helpers/rails_helper.rb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
used during asset precompilation.
Conflicts:
actionpack/lib/action_view/asset_paths.rb
actionpack/lib/sprockets/helpers/rails_helper.rb
actionpack/test/template/sprockets_helper_test.rb
|
|/ |
|
|
|
|
|
|
| |
This allows test classes that are not subclasses of
ActiveSupport::TestCase (like those in rspec-rails) to interact with
with this variable without having to reference ActiveSupport::TestCase.
|
|\
| |
| | |
link_to doesn't allow rel attribute when also specifying method
|
| | |
|
|\ \
| | |
| | | |
Fixes an issue where cache sweepers with only after filters would have no controller object
|
| |/ |
|
|\ \
| |/
|/| |
Fix nested fields_for when Hash-based model is passed.
|
| | |
|
| |
| |
| |
| |
| | |
This fixes an error when a record object that is a subclass of Hash is
passed to fields_for, which is incorrectly interpreted as field options.
|