1. 19 2月, 2014 1 次提交
  2. 13 2月, 2014 1 次提交
    • I
      Added tests to render helper that expect `render partial: @foo` to · 5b793a8a
      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).
      5b793a8a
  3. 02 12月, 2013 1 次提交
  4. 01 11月, 2013 1 次提交
  5. 15 7月, 2013 1 次提交
  6. 21 6月, 2013 1 次提交
  7. 20 6月, 2013 1 次提交
  8. 21 4月, 2013 1 次提交
  9. 04 4月, 2013 1 次提交
  10. 08 1月, 2013 1 次提交
    • C
      Do not generate local vars for partials without object or collection · c67005f2
      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.
      c67005f2
  11. 02 12月, 2012 1 次提交
  12. 27 10月, 2012 1 次提交
  13. 17 9月, 2012 2 次提交
  14. 11 9月, 2012 1 次提交
  15. 14 8月, 2012 1 次提交
  16. 03 8月, 2012 1 次提交
  17. 18 7月, 2012 1 次提交
  18. 18 5月, 2012 1 次提交
  19. 05 5月, 2012 1 次提交
  20. 30 4月, 2012 3 次提交
  21. 17 4月, 2012 2 次提交
  22. 06 3月, 2012 1 次提交
  23. 22 2月, 2012 2 次提交
  24. 21 2月, 2012 2 次提交
  25. 25 12月, 2011 1 次提交
  26. 22 12月, 2011 1 次提交
  27. 20 12月, 2011 1 次提交
  28. 19 11月, 2011 1 次提交
  29. 26 10月, 2011 1 次提交
  30. 23 9月, 2011 3 次提交
  31. 22 9月, 2011 2 次提交