aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change ActionView ERB Handler from Erubis to ErubiJeremy Evans2017-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* modernizes hash syntax in actionviewXavier Noria2016-08-061-3/+3
|
* applies new string literal convention in actionview/libXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* [ci skip] Update formatting in ActionView::Base documentationAlex Kitchens2016-06-291-6/+6
|
* Fix usage of word alternatively in docs [ci skip]Abhishek Jain2015-10-061-1/+1
|
* Make disable_with default in submit_tagJustin Schiff2015-08-111-0/+4
| | | | | | | | | | | | | | Prevents double submission by making disable_with the default. Default disable_with option will only be applied if user has not specified her/his own disable_with option, whether that is in the `data-disable-with` string form or the `:data => { :disable_with => "Saving..." }` hash form. disable_with will default to the value attribute. A configuration option was added to opt out of this functionality if the user so desires. `config.action_view.automatically_disable_submit_tag = false`
* Add documentation for local_assigns [ci skip]Nithin Bekal2015-02-171-0/+8
|
* Fix link in documentation. [ci skip]Igor Zubkov2014-11-301-2/+2
|
* Explain ERB space removal. [ci skip]Ciro Santilli2014-09-111-1/+3
|
* Shorten ActionView::Base doc summary line. [ci skip]Ciro Santilli2014-09-021-3/+4
|
* Clarify Rails uses erubis not stdlin ERB. [ci skip]Ciro Santilli2014-09-021-1/+2
|
* defined? should actually work in current implementationAkira Matsuda2014-08-071-9/+0
| | | | So this trick is not needed to be documented anymore.
* Builder source code is still available on github [ci skip]Zachary Scott2014-06-131-0/+3
| | | | This was also removed from #15542
* remove rubyforge.org that was shut down [ci skip]Gaurav Sharma2014-06-061-2/+0
|
* Rails config for raise on missing translationsKassio Borges2014-01-271-0/+4
| | | | | Add a config to setup whether raise exception for missing translation or not.
* Remove deprecated cattr_* requiresGenadi Samokovarov2013-12-031-1/+1
|
* Add missing requires inside AVŁukasz Strzałkowski2013-08-251-0/+4
|
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+201