Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split DELEGATION_RESERVED_METHOD_NAMES in half | Toshimaru | 2016-12-09 | 1 | -4/+10 |
| | |||||
* | Enable `block` variable in view | Toshimaru | 2016-12-09 | 1 | -0/+4 |
| | | | | Remove `block` keyword from reserved method names | ||||
* | Change render to support any hash keys in locals | Peter Schilling | 2016-10-02 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | this lets you pass ruby keywords to templates: <%= render 'example', class: "cool" %> <%= render 'example', "spaces are" => "a-ok" %> <%= render 'example', Foo: "bar" %> Previously you'd see confusing syntax errors like this: SyntaxError (.../_example.html.erb:1: syntax error, unexpected '=' Now you can reference invalid identifiers through local_assigns. If you try to use an invalid keyword (e.g. class) in your template, you get a syntax error on the line where you use it. | ||||
* | modernizes hash syntax in actionview | Xavier Noria | 2016-08-06 | 1 | -9/+9 |
| | |||||
* | applies new string literal convention in actionview/test | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | handle <%== nil %> cases | Aaron Patterson | 2014-09-14 | 1 | -0/+4 |
| | | | | | This is much less common than string literal appends, so add a special case method for it. Maybe fixes bug reported by @jeremy on 97ef636191933f1d4abc92fc10871e6d1195285c | ||||
* | Move cleanup into teardown, delete obsolete code. | Zuhao Wan | 2014-06-14 | 1 | -8/+1 |
| | |||||
* | Remove unneeded files | Piotr Sarnacki | 2013-06-20 | 1 | -1/+0 |
| | |||||
* | Move template tests from actionpack to actionview | Piotr Sarnacki | 2013-06-20 | 1 | -0/+63 |