1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Jeremy Evans 7da8d76206
Change ActionView ERB Handler from Erubis to Erubi
Erubi offers the following advantages for Rails:

* Works with ruby's --enable-frozen-string-literal option
* Has 88% smaller memory footprint
* Does no freedom patching (Erubis adds a method to Kernel)
* Has simpler internals (1 file, <150 lines of code)
* Has an open development model (Erubis doesn't have a
  public source control repository or bug tracker)
* Is not dead (Erubis hasn't been updated since 2011)

Erubi is a simplified fork of Erubis that contains just the
parts that are generally needed (which includes the parts
that Rails uses).  The only intentional difference in
behavior is that it does not include support for <%=== tags
for debug output.  That could be added to the ActionView ERB
handler if it is desired.

The Erubis template handler remains in a deprecated state
so that code that accesses it directly does not break.  It
can be removed after Rails 5.1.
2017-01-25 01:41:27 -07:00
..
abstract_controller Change ActionView ERB Handler from Erubis to Erubi 2017-01-25 01:41:27 -07:00
action_controller Delete PATH_INFO after each controller test request 2017-01-23 17:56:57 +00:00
action_dispatch Add examples for behaviour about redirection with and without options. Fixes #27715 [ci skip] (#27730) 2017-01-21 20:24:57 +05:30
action_pack applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
abstract_controller.rb applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
action_controller.rb Include the content of the flash in the auto-generated etag (#26250) 2016-08-22 13:34:35 -07:00
action_dispatch.rb Bump license years for 2017 2016-12-31 08:34:08 -05:00
action_pack.rb Bump license years for 2017 2016-12-31 08:34:08 -05:00