1. 05 12月, 2012 1 次提交
  2. 28 11月, 2012 1 次提交
  3. 26 11月, 2012 1 次提交
  4. 07 10月, 2012 1 次提交
  5. 04 10月, 2012 1 次提交
  6. 27 9月, 2012 1 次提交
  7. 30 8月, 2012 1 次提交
  8. 09 8月, 2012 1 次提交
  9. 15 5月, 2012 1 次提交
  10. 14 10月, 2011 1 次提交
  11. 24 7月, 2011 1 次提交
  12. 21 6月, 2011 2 次提交
  13. 08 6月, 2011 2 次提交
  14. 11 5月, 2011 1 次提交
  15. 19 1月, 2011 1 次提交
  16. 23 12月, 2010 2 次提交
  17. 17 6月, 2010 1 次提交
  18. 09 6月, 2010 1 次提交
  19. 18 4月, 2010 1 次提交
  20. 16 4月, 2010 1 次提交
  21. 15 4月, 2010 1 次提交
  22. 19 3月, 2010 1 次提交
  23. 17 3月, 2010 1 次提交
    • C
      Some more tweaks on <% %>. · c61ed70b
      Carlhuda 提交于
        * The cache helper is now semantically "mark this region for caching"
        * As a result, <% x = cache do %> no longer works
      c61ed70b
  24. 16 3月, 2010 1 次提交
    • C
      Add deprecation notices for <% %>. · 9de83050
      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.
      9de83050
  25. 23 1月, 2010 1 次提交
  26. 16 7月, 2008 1 次提交
  27. 14 7月, 2008 1 次提交
  28. 04 7月, 2008 2 次提交
  29. 05 3月, 2008 1 次提交
  30. 03 2月, 2008 1 次提交
  31. 22 1月, 2008 1 次提交
  32. 19 1月, 2008 2 次提交
  33. 12 1月, 2008 1 次提交
  34. 10 1月, 2008 2 次提交