rails/actionpack/test
Carlhuda 9de83050d3 Add deprecation notices for <% %>.
* 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.
2010-03-15 14:50:43 -07:00
..
abstract Allow anything that responds to render to be given as :template and use find_template instead of find in views. 2010-03-12 14:25:10 +01:00
activerecord Fix failing Action Pack tests 2010-03-02 14:41:12 -08:00
controller Add deprecation notices for <% %>. 2010-03-15 14:50:43 -07:00
dispatch Make all AP tests pass for Ruby 1.9.1. 2010-03-12 11:50:45 +01:00
fixtures Add deprecation notices for <% %>. 2010-03-15 14:50:43 -07:00
lib Make all AP tests pass for Ruby 1.9.1. 2010-03-12 11:50:45 +01:00
template Add deprecation notices for <% %>. 2010-03-15 14:50:43 -07:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
active_record_unit.rb Autoload AR test case 2010-01-04 16:50:01 -06:00
ts_isolated.rb Give useful test:isolated failures 2009-11-04 12:44:06 -08:00