- 03 4月, 2010 2 次提交
-
-
由 wycats 提交于
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
-
由 wycats 提交于
-
- 01 4月, 2010 2 次提交
-
-
由 Bernardo de Pádua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
HTML safety: give a deprecation warning if an array of option tags is passed to select tag. Be sure to join the tag yourself and mark them .html_safe
-
- 31 3月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 29 3月, 2010 3 次提交
-
-
由 wycats 提交于
-
由 Craig R Webster 提交于
Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Paco Guzman 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 27 3月, 2010 2 次提交
-
-
由 wycats 提交于
Fixes a bug where error_messages_for was returning an empty div [#4048 state:resolved] (ht: Geoff Garside)
-
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 23 3月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 Bernardo de Pádua 提交于
NumberHelper methods should now return html_safe strings (when the inputs are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Bernardo de Pádua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 3月, 2010 1 次提交
-
-
由 José Valim 提交于
Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified.
-
- 19 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 18 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
Modify assert_template to use notifications. Also, remove ActionController::Base#template since it is no longer needed.
-
- 17 3月, 2010 5 次提交
-
-
由 Joshua Peek 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Xavier Noria 提交于
[#4196 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Xavier Noria 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 16 3月, 2010 5 次提交
-
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Carlhuda 提交于
* The approach is to compile <% %> into a method call that checks whether the value returned from a block is a String. If it is, it concats to the buffer and prints a deprecation warning. * <%= %> uses exactly the same logic to compile the template, which first checks to see whether it's compiling a block. * This should have no impact on other uses of block in templates. For instance, in <% [1,2,3].each do |i| %><%= i %><% end %>, the call to each returns an Array, not a String, so the result is not concatenated * In two cases (#capture and #cache), a String can be returned that should *never* be concatenated. We have temporarily created a String subclass called NonConcattingString which behaves (and is serialized) identically to String, but is not concatenated by the code that handles deprecated <% %> block helpers. Once we remove support for <% %> block helpers, we can remove NonConcattingString.
-
由 Xavier Noria 提交于
[#4182 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 15 3月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
There's a Ruby issue with File.basename different versions returns different things, so we shouldn't test that
-
- 13 3月, 2010 1 次提交
-
-
由 Denis Odorcic 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 12 3月, 2010 4 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Jeremy Kemper 提交于
-
由 Eaden McKee 提交于
[#2837 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 11 3月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 10 3月, 2010 3 次提交
- 09 3月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 08 3月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-