| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | | |
Allow collection helpers with block to access current object in the collection
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gives a lot more flexibility to the user, for instance to generate
a collection of check boxes and labels, allowing to add custom classes
or data-* attributes to the label/check_box using another object
attribute.
This basically mimics options_for_select functionality that accepts a
third option for each item to generate html attributes for each option.
|
|\ \ \
| |/ /
|/| | |
Exclude rack.request.form_vars from request.filtered_env
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add HTML5 input[type="date"] helper
|
| | | | |
|
|/ / / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
regression uncovered
|
| | |
| | |
| | |
| | | |
controller option.
|
|\ \ \
| | | |
| | | | |
replacing the orderhash with hash for ruby-1.9
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Latest changes in remote ip handling conflicted with each other in
tests. Related:
dd09811fa6214a130fdc2de1d4c00b4337cb15f9
6a720226aad2adffcbd2422d40db772719579e2f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ActionDispatch::Routing::RouteSet.url_for now handles passing params through to
ActionDispatch::Http::Url.url_for
Conflicts:
actionpack/test/controller/base_test.rb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`ActionController.force_ssl` redirects http URLs to their https equivalent;
however, when a URL contains a query string, the resulting redirect lacked the
original query string.
Conflicts:
actionpack/lib/action_controller/metal/force_ssl.rb
|
|\ \ \
| | | |
| | | | |
The first IP address in the X-Forwarded-For header is the originating IP
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Trusted proxies are configurable
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix MIME::Type.parse handling of single media with a q value
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Closes #4919
|
| | |
| | |
| | |
| | |
| | |
| | | |
which starts with "/" from multiple nested controller.
Closes #3864
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Too painful to lose the compact shorthand form!
This reverts commit e848c52535fa0f9488cdbdb3f1cedc7c7c02d643.
Conflicts:
actionpack/lib/action_dispatch/routing/mapper.rb
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`,
`video_url`, and `font_url` to assets tag helper. These URL helpers will
return the full path to your assets. This is useful when you are going
to reference this asset from external host.
|
|\ \ \
| | | |
| | | | |
Fix override API response bug in respond_with
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Default responder was only using the given respond block when user
requested for HTML format, or JSON/XML format with valid resource. This
fix the responder so that it will use the given block regardless of the
validity of the resource. Note that in this case you'll have to check
for object's validity by yourself in the controller.
Fixes #4796
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
collection_radio_buttons
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | |
| | |
| | | |
And options_from_collection_for_select as well.
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will make it easy for the user to handle how check box/radio and
labels should be generated, abstracting any text/value/default html
options required to make it work.
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | |
| | |
| | |
| | |
| | | |
When the new html5 attribute :form is given to the check_box helper, it
should be replicated to the hidden field as well. Closes #4848
|
|\ \ \
| | | |
| | | | |
check_box with nil as unchecked value should be HTML safe
|
| | | |
| | | |
| | | |
| | | | |
[Carlos Antonio da Silva + Rafael Mendonça França]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
All the logic is based on the HTML_ESCAPE constant available in
ERB::Util, so it seems more logic to have the entire method there and
just delegate the helper to use it.
|
|\ \ \ \
| | | | |
| | | | | |
Improvements on some url helper methods and tests
|