Aaron Patterson
ca5e23ed4d
Templates have one format
...
Templates only have one format. Before this commit, templates would be
constructed with a single element array that contained the format. This
commit eliminates the single element array and just implements a
`format` method. This saves one array allocation per template.
2019-02-25 13:18:44 -08:00
Kir Shatrov
424117281e
Use frozen string literal in actionview/
2017-07-24 11:53:43 +03:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Xavier Noria
411ccbdab2
remove redundant curlies from hash arguments
2016-08-06 19:44:11 +02:00
Xavier Noria
63fff600ac
modernizes hash syntax in actionview
2016-08-06 19:36:34 +02:00
Xavier Noria
4b6c68dfb8
applies new string literal convention in actionview/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:50:17 +02:00
Piotr Sarnacki
eb23754ebb
Move template tests from actionpack to actionview
2013-06-20 17:23:16 +02:00