rails--rails/actionview/test/fixtures
Peter Schilling f9960f2d74 Change render to support any hash keys in locals
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.
2016-10-02 00:21:17 -07:00
..
actionpack Stop using deprecated `render :text` in test 2015-07-17 22:27:33 -04:00
comments
custom_pattern
customers
db_definitions
developers
digestor Fix finding templates for digesting for */* requests that render a non-default (html) template 2016-06-15 18:25:18 -04:00
fun
games
good_customers
helpers
helpers_missing normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
layout_tests/alt
layouts Add Html template handler that wraps Raw output in an OutputBuffer 2016-01-05 16:54:39 -03:00
mascots
override/test
override2/layouts/test
projects
public
replies
respond_to
test Change render to support any hash keys in locals 2016-10-02 00:21:17 -07:00
topics
translations/templates
_top_level_partial.html.erb
_top_level_partial_only.erb
companies.yml
company.rb applies new string literal convention in actionview/test 2016-08-06 18:50:17 +02:00
developer.rb modernizes hash syntax in actionview 2016-08-06 19:36:34 +02:00
developers.yml
developers_projects.yml
mascot.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
mascots.yml
plain_text.raw
plain_text_with_characters.raw
project.rb Fix calling cache helper with a relation 2015-08-28 17:26:09 +10:00
projects.yml
replies.yml
reply.rb
ruby_template.ruby
shared.html.erb
topic.rb modernizes hash syntax in actionview 2016-08-06 19:36:34 +02:00
topics.yml
with_format.json.erb