rails/actionview
eileencodes 334fa122b7
Refactor compiled_source
This is a continuation of #46706 to make sure we don't need to set an
instance variable to `@original_source` for the `compile` method to use.

We can't call `strict_locals!` after encode so we need to set it to a
local variable in `complile`. We changed the `strict_locals!` method to
check `NONE` instead of lazily defining instance variables which let us
simplify `strict_locals?` to return the value of `strict_locals!`. This
simplifies and clarifies the code.

Co-authored-by: Aaron Patterson tenderlove@ruby-lang.org
2022-12-14 14:12:25 -05:00
..
app Fix word case. html -> HTML 2022-09-18 04:21:22 +10:00
bin Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
lib Refactor compiled_source 2022-12-14 14:12:25 -05:00
test Allow f.select to be called with a single hash containing options and HTML options 2022-12-13 11:44:34 -06:00
.eslintrc Convert rails-ujs to ES2015 modules 2022-07-07 21:52:08 -04:00
.gitignore Clean up and consolidate .gitignores 2018-02-17 14:26:19 -08:00
actionview.gemspec Merge pull request #45546 from skipkayhil/decaffeinate-ujs 2022-09-14 18:59:58 -04:00
blade.yml Convert rails-ujs to ES2015 modules 2022-07-07 21:52:08 -04:00
CHANGELOG.md Allow f.select to be called with a single hash containing options and HTML options 2022-12-13 11:44:34 -06:00
coffeelint.json Test rails-ujs in our travis matrix 2017-02-22 13:49:28 -05:00
MIT-LICENSE Bump license years to 2022 [ci-skip] 2022-01-01 15:22:15 +09:00
package.json Convert rails-ujs to ES2015 modules 2022-07-07 21:52:08 -04:00
Rakefile Convert rails-ujs to ES2015 modules 2022-07-07 21:52:08 -04:00
README.rdoc Rename master to main in all code references 2021-01-19 20:46:33 +00:00
rollup.config.js Convert rails-ujs to ES2015 modules 2022-07-07 21:52:08 -04: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.

You can read more about Action View in the {Action View Overview}[https://edgeguides.rubyonrails.org/action_view_overview.html] guide.

== 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/main/actionview


== License

Action View is released under the MIT license:

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


== Support

API documentation is at

* https://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://discuss.rubyonrails.org/c/rubyonrails-core