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
66a7cfa910
applies new string literal convention in actionview/lib
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:48:35 +02:00
Santiago Pastorino
8a998b0fa7
Add Html template handler that wraps Raw output in an OutputBuffer
...
This fixes the case when you try to render an html you know safe and the
file is named something.html. With this commit the content of the html
won't be escaped anymore because AV won't use Raw handler and choose
Html handler instead.
2016-01-05 16:54:39 -03:00
Rafael Mendonça França
4be859f0fd
Change the default template handler from ERB
to Raw
.
...
Files without a template handler in their extension will be rended
using the raw handler instead of ERB.
2015-01-04 11:58:42 -03:00
Erik Michaels-Ober
d1374f99bf
Pass symbol as an argument instead of a block
2014-11-29 11:53:24 +01:00
claudiob
5aedabe82d
Wrap code snippets in +, not backticks, in sdoc
...
I grepped the source code for code snippets wrapped in backticks in the comments
and replaced the backticks with plus signs so they are correctly displayed in
the Rails documentation.
[ci skip]
2014-11-20 15:45:15 -08:00
Zuhao Wan
a1dbb4e7e0
Add unregister_template_handler to prevent leaks.
2014-06-12 18:49:40 +08:00
Piotr Sarnacki
0d6e8edc2a
Move actionpack/lib/action_view* into actionview/lib
2013-06-20 17:23:15 +02:00