- 19 2月, 2014 4 次提交
-
-
由 Prem Sichanugrist 提交于
This test were assuming that the list of render options will always be the same. Fixing that so this doesn't break when we add/remove render option in the future.
-
由 Prem Sichanugrist 提交于
This is an option for to HTML content with a content type of `text/html`. This rendering option calls `ERB::Util.html_escape` internally to escape unsafe HTML string, so you will have to mark your string as html safe if you have any HTML tag in it. Please see #12374 for more detail.
-
由 Prem Sichanugrist 提交于
This is as an option to render content with a content type of `text/plain`. This is the preferred option if you are planning to render a plain text content. Please see #12374 for more detail.
-
由 Prem Sichanugrist 提交于
This is an option for sending a raw content back to browser. Note that this rendering option will unset the default content type and does not include "Content-Type" header back in the response. You should only use this option if you are expecting the "Content-Type" header to not be set. More information on "Content-Type" header can be found on RFC 2616, section 7.2.1. Please see #12374 for more detail.
-
- 15 2月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
-
- 13 2月, 2014 2 次提交
-
-
由 Lukasz Strzalkowski 提交于
Allow setting `request.variant` as an array - an order in which they will be rendered. For example: request.variant = [:tablet, :phone] respond_to do |format| format.html.none format.html.phone # this gets rendered end
-
由 Iain Beeston 提交于
automatically call @foo.to_partial_path Calling `render @foo` allows local variables but not options to be passed to the partial renderer. The correct way to render an object AND pass options to the partial renderer is to pass the object in the `:partial` parameter. However, there were previously no tests for this behaviour (in `render_helper_test.rb` at least).
-
- 03 2月, 2014 1 次提交
-
-
由 Attila Domokos 提交于
I did not see in the docs that `button_to` supports not only URLs but paths as well. I documented this functionality with a unit tests and added an example to the docs as well.
-
- 01 2月, 2014 2 次提交
-
-
由 Aaron Patterson 提交于
LookupContext is eagerly loaded, and FallbackFileSystemResolver is referenced at the class level. Just require the resolver from the eagerly loaded class rather than jumping through autoload hoops
-
由 Aaron Patterson 提交于
-
- 31 1月, 2014 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 30 1月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 27 1月, 2014 1 次提交
-
-
由 Kassio Borges 提交于
Add a config to setup whether raise exception for missing translation or not.
-
- 14 1月, 2014 1 次提交
-
-
由 Waynn Lue 提交于
-
- 13 1月, 2014 1 次提交
-
-
由 Gaurish Sharma 提交于
This Adds helpers(jruby_skip & rbx_skip). In Future, Plan is to use these helpers instead of calls directly to RUBY_ENGINE/RbConfig/JRUBY_VERSION
-
- 10 1月, 2014 3 次提交
-
-
由 João Britto 提交于
-
由 João Britto 提交于
Each chunk of text coming after `render` is now handled individually as a possible list of arguments.
-
由 João Britto 提交于
The current implementation can't handle some special cases of oddly-formatted Ruby. Now we are able to detect them: * Multi-line arguments on the `render` call * Strings containing quotes, e.g. `"something's wrong"` * Multiple kinds of identifiers - instance variables, class variables and globals * Method chains as arguments for the `render` call Also, this fix reduces the rate of "false positives" which showed up when we had calls/access to identifiers containing `render`, like `surrender` and `rendering`.
-
- 07 1月, 2014 1 次提交
-
-
由 Adrien 提交于
image_tag only supports :alt and :size as additional keys, not three.
-
- 06 1月, 2014 2 次提交
-
-
由 Washington Luiz 提交于
just like all the other modules do require their version file
-
由 Gaelian Ditchburn 提交于
The use of `display:inline` with the content_tag call in the extra_tags_for_form method potentially causes display issues with some browsers, namely Internet Explorer. IE's behaviour of not collapsing the line height on divs with ostensibly no content means that the automatically added div containing the hidden authenticity_token, utf8 and _method form input tags may interfere with other visible form elements in certain circumstances. The use of `display:none` rather than `display:inline` fixes this problem. Fixes #6403
-
- 05 1月, 2014 1 次提交
-
-
由 Kuldeep Aggarwal 提交于
-
- 04 1月, 2014 4 次提交
-
-
由 Konstantin Wlasow 提交于
-
由 T.J. Schuck 提交于
-
由 Rafael Mendonça França 提交于
-
由 Prathamesh Sonpatki 提交于
- While editing an existing record, end_year is equal to current selected year plus 5 by default. - While editing an existing record, start_year is equal to current selected year value minus 5 by default. - Fixes #13552 Acked-by: NPrathamesh Sonpatki <csonpatki@gmail.com> Acked-by: NPrathamesh Sonpatki <csonpatki@gmail.com>
-
- 02 1月, 2014 2 次提交
-
-
由 Kuldeep Aggarwal 提交于
-
由 Vipul A M 提交于
-
- 25 12月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 24 12月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 21 12月, 2013 1 次提交
-
-
由 Robin Dupret 提交于
-
- 19 12月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Change most tests to make use of assert_raise returning the raised exception rather than relying on a combination of flunk + rescue to check for exception types/messages.
-
- 18 12月, 2013 4 次提交
-
-
由 abhishek 提交于
-
由 Kuldeep Aggarwal 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Jeremy Kemper 提交于
-
- 17 12月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 13 12月, 2013 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
Allowing us to get 3.2.x versions if needed.
-
- 12 12月, 2013 2 次提交
-
-
由 Aayush khandelwal 提交于
-
由 Waynn Lue 提交于
-