Module: ActionView
Overview
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 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:
License
Action View is released under the MIT license:
Support
API documentation is at
Bug reports for the Ruby on Rails project can be filed here:
Feature requests should be discussed on the rails-core mailing list here:
Constant Summary
-
ENCODING_FLAG =
# File 'actionview/lib/action_view.rb', line 35'#.*coding[:=]\s*(\S+)[ \t]*'
-
TemplateError =
# File 'actionview/lib/action_view/template/error.rb', line 243Template::Error
Class Method Summary
- .eager_load!
-
.gem_version
Returns the currently loaded version of Action View as a
Gem::Version
. -
.version
Returns the currently loaded version of Action View as a
Gem::Version
.
::ActiveSupport::Autoload
- Extended
Class Method Details
.eager_load!
[ GitHub ]# File 'actionview/lib/action_view.rb', line 93
def self.eager_load! super ActionView::Helpers.eager_load! ActionView::Template.eager_load! end
.gem_version
Returns the currently loaded version of Action View as a Gem::Version
.
.version
Returns the currently loaded version of Action View as a Gem::Version
.
# File 'actionview/lib/action_view/version.rb', line 7
def self.version gem_version end