- 19 7月, 2014 1 次提交
-
-
由 Eugene Gilburg 提交于
-
- 17 7月, 2014 1 次提交
-
-
由 Joel Junström 提交于
The iteration object is available as the local variable "template_name_iteration" when rendering partials with collections. It gives access to the +size+ of the collection beeing iterated over, the current +index+ and two convinicence methods +first?+ and +last?+ "template_name_counter" variable is kept but is deprecated. [Joel Junström + Lucas Uyezu]
-
- 12 7月, 2014 1 次提交
-
-
由 Matthew Draper 提交于
Just so it's clearer what's going on in the following assertion. /cc #11993 @robin850
-
- 14 6月, 2014 1 次提交
-
-
由 Zuhao Wan 提交于
-
- 12 6月, 2014 1 次提交
-
-
由 Zuhao Wan 提交于
-
- 19 2月, 2014 1 次提交
-
-
由 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.
-
- 13 2月, 2014 1 次提交
-
-
由 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).
-
- 02 12月, 2013 1 次提交
-
-
由 Yves Senn 提交于
Missing partial folder/_partial instead of folder/partial. Closes #13002.
-
- 24 11月, 2013 1 次提交
-
-
由 Federico Ravasio 提交于
This makes the test compatible with other Ruby implementations, which may implement error messages differently.
-
- 01 11月, 2013 1 次提交
-
-
由 Arun Agrawal 提交于
Same as 4d4ff531
-
- 15 7月, 2013 1 次提交
-
-
由 kennyj 提交于
Fix default rendered format problem when calling render method without :content_type option. Closes #11393.
-
- 21 6月, 2013 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
Now if somebody by mistake will remove malformed files test will raise error.
-
- 20 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 21 4月, 2013 1 次提交
-
- 04 4月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Introduced in 2c22376f
-
- 08 1月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Previously rendering a partial without giving :object or :collection would generate a local variable with the partial name by default. This was noticed due to warnings in Ruby 2.0 of not used variables, which turned out to be the generation of not used variables inside partials that do not contain objects related to them.
-
- 02 12月, 2012 1 次提交
-
-
由 Yves Senn 提交于
-
- 27 10月, 2012 1 次提交
-
-
由 Yves Senn 提交于
-
- 17 9月, 2012 2 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Tima Maslyuchenko 提交于
-
- 11 9月, 2012 1 次提交
-
-
由 Guillermo Iguaran 提交于
This handler simply allows arbitrary Ruby code as a template
-
- 14 8月, 2012 1 次提交
-
-
由 Lucas Uyezu 提交于
-
- 03 8月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 18 7月, 2012 1 次提交
-
-
由 Dmitry Vorotilin 提交于
-
- 18 5月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
Fixes #2394
-
- 05 5月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 30 4月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
Allow access to current object_counter variable from layout when rendering with partial + collection
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
- 17 4月, 2012 2 次提交
-
-
由 Tieg Zaharia 提交于
-
由 Tieg Zaharia 提交于
-
- 06 3月, 2012 1 次提交
-
-
由 Sergio Arbeo 提交于
-
- 22 2月, 2012 2 次提交
-
-
由 Santiago Pastorino 提交于
Closes #5025 part 2
-
由 Santiago Pastorino 提交于
-
- 21 2月, 2012 2 次提交
-
-
由 Santiago Pastorino 提交于
Closes #5025
-
由 José Valim 提交于
Reset memoized hash keys when new ActionView::Template handler is registered Conflicts: actionpack/lib/action_view/template/handlers.rb
-
- 25 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 22 12月, 2011 1 次提交
-
-
由 Lucas Mazza 提交于
-
- 20 12月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 19 11月, 2011 1 次提交
-
-
由 Tobias Svensson 提交于
-