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 Added tests to render helper that expect render partial: @foo to 2014-02-12 17:40:52 +00:00
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 Remove unused AV helper fixtures from e10a2531 2013-09-14 10:30:17 -07:00
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 Move view_paths from AP to AV 2013-08-25 11:39:07 +02:00
override2/layouts/test Move view_paths from AP to AV 2013-08-25 11:39:07 +02:00
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_only.erb
_top_level_partial.html.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_projects.yml
developers.yml
mascot.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
mascots.yml
plain_text_with_characters.raw
plain_text.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