1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/template
Bernerd Schaefer ee63532d40 url_for does not modify polymorphic options
The `url_for` methods in `actionpack` and `actionview`
now make a copy of the provided options
before generating polymorphic paths or URLs.

The bug in the previous behavior
is most noticeable in a case like:

    url_options = [:new, :post, param: 'value']

    if current_page?(url_options)
      css_class = "active"
    end

    link_to "New Post", url_options, class: css_class
2015-09-04 13:42:32 -07:00
..
erb
testing Action Pack Variants 2013-12-04 00:13:16 +01:00
active_model_helper_test.rb
asset_tag_helper_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
atom_feed_helper_test.rb remove redundant parenthesis. 2015-05-14 02:52:49 +05:30
capture_helper_test.rb 🚮 Unused method 2015-04-25 17:09:33 +09:00
compiled_templates_test.rb handle <%== nil %> cases 2014-09-14 17:11:13 -07:00
controller_helper_test.rb Override default form builder for a controller 2015-04-13 23:43:34 -04:00
date_helper_i18n_test.rb
date_helper_test.rb 🚮 Unused methods 2015-04-25 17:09:33 +09:00
dependency_tracker_test.rb Fix dependency tracker bug 2015-02-25 14:57:29 +02:00
digestor_test.rb Add wildcard template dependencies. 2015-07-26 19:21:14 +02:00
erb_util_test.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
form_collections_helper_test.rb Fix invalid css selectors in form_collections_helper_test.rb. 2014-06-16 21:04:25 +02:00
form_helper_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
form_options_helper_i18n_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
form_options_helper_test.rb Raise an ArgumentError when include_blank is false for a required field in 2015-06-08 16:41:44 +01:00
form_tag_helper_test.rb Make disable_with default in submit_tag 2015-08-11 16:35:10 -07:00
html_test.rb Use the reference for the mime type to get the format 2014-02-18 16:12:51 -03:00
javascript_helper_test.rb Cleaning JavaScriptHelperTest 2015-03-14 16:37:42 -03:00
log_subscriber_test.rb
lookup_context_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
number_helper_test.rb - Extracted DELIMITED_REGEX to delimited_regex method and made use of user passed options[:delimited_regex] if available. Changed DELIMITED_REGEX to DEFAULT)DELIMITED_REGEX to signify what it means. 2015-08-28 11:34:17 +05:30
output_safety_helper_test.rb In tag helper, honor html_safe on array parameters; also make safe_join more similar to Array.join by first calling flatten. 2014-06-12 15:30:40 -07:00
partial_iteration_test.rb Build only one PartialIteration object for loop 2014-07-16 14:54:22 -03:00
record_identifier_test.rb Better tests for AV::RecordIdentifier 2014-12-23 01:59:25 +01:00
record_tag_helper_test.rb Removed not needed includes, As record_tag_helper is moved to a gem we are not 2015-05-10 20:48:34 -04:00
render_test.rb Fix cache issue when different partials use the same collection 2015-06-28 20:41:59 -05:00
resolver_patterns_test.rb Fix method name typos 2013-09-05 10:43:57 +05:30
sanitize_helper_test.rb Let strip_tags leave HTML escaping to Rails. 2015-03-10 20:04:01 +01:00
streaming_render_test.rb fix ActionView::Template::Error when using Streaming with capture. 2015-03-01 16:20:27 +09:00
tag_helper_test.rb Test to ensure content_tag works when fixing #17661 2014-12-16 17:37:26 +01:00
template_error_test.rb Use set_backtrace instead of @backtrace in ActionView error 2013-11-16 04:41:28 +09:00
template_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
test_case_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
test_test.rb simplified route method name generation 2014-05-12 15:54:43 -07:00
text_helper_test.rb Sometimes you need a specific break sequence while using word wrap and as today the only option we have is "\n" and is hardcoded. 2015-08-11 14:15:47 -07:00
text_test.rb Use the reference for the mime type to get the format 2014-02-18 16:12:51 -03:00
translation_helper_test.rb Removed Mocha from ActionView part 1 2015-08-24 08:59:19 +05:30
url_helper_test.rb url_for does not modify polymorphic options 2015-09-04 13:42:32 -07:00