1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview
Dillon Welch d108288c2f
Turn on performance based cops
Use attr_reader/attr_writer instead of methods

method is 12% slower

Use flat_map over map.flatten(1)

flatten is 66% slower

Use hash[]= instead of hash.merge! with single arguments

merge! is 166% slower

See https://github.com/rails/rails/pull/32337 for more conversation
2018-07-23 15:37:06 -07:00
..
app/assets/javascripts Merge pull request #31881 from yewton/rails-ujs-with-yarn-autoclean 2018-04-23 12:20:15 -04:00
bin Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
lib Merge pull request #33268 from benpickles/remove-pubdate-from-docs 2018-07-21 13:39:37 -05:00
test Turn on performance based cops 2018-07-23 15:37:06 -07:00
.gitignore Clean up and consolidate .gitignores 2018-02-17 14:26:19 -08:00
actionview.gemspec Rails 6 requires Ruby 2.4.1+ 2018-02-17 15:34:57 -08:00
blade.yml Add rails-ujs to Action View 2016-11-26 01:23:07 -05:00
CHANGELOG.md Fix issue with button_to's to_form_params 2018-07-16 09:44:22 +03:00
coffeelint.json Test rails-ujs in our travis matrix 2017-02-22 13:49:28 -05:00
MIT-LICENSE Bump license years for 2018 2017-12-31 22:36:55 +09:00
package.json Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
Rakefile Improve redundancy in line tasks 2018-04-19 23:45:28 +09:00
README.rdoc Fix typos and add a few suggestions 2017-11-28 19:27:43 +01:00
RUNNING_UJS_TESTS.rdoc Fix typos and add a few suggestions 2017-11-28 19:27:43 +01:00
RUNNING_UNIT_TESTS.rdoc Fix typos and add a few suggestions 2017-11-28 19:27:43 +01:00

= Action View

Action View is a framework for handling view template lookup and rendering, and provides
view helpers that assist when building HTML forms, Atom feeds and more.
Template formats that Action View handles are ERB (embedded Ruby, typically
used to inline short Ruby snippets inside HTML), and XML Builder.

== Download and installation

The latest version of Action View can be installed with RubyGems:

  $ gem install actionview

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/actionview


== License

Action View is released under the MIT license:

* https://opensource.org/licenses/MIT


== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports for the Ruby on Rails project can be filed here:

* https://github.com/rails/rails/issues

Feature requests should be discussed on the rails-core mailing list here:

* https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-core