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 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:
Namespace
Module
- ActionView::CacheExpiry
- ActionView::Context
- ActionView::Helpers
- ActionView::Layouts
- ActionView::RecordIdentifier
- ActionView::Rendering
- ActionView::RoutingUrlFor
- ActionView::VERSION
- ActionView::ViewPaths
Class
- ActionView::AbstractRenderer
- ActionView::Base
- ActionView::Digestor
- ActionView::FileSystemResolver
- ActionView::FixtureResolver
- ActionView::LogSubscriber
- ActionView::LookupContext
- ActionView::NullResolver
- ActionView::PartialIteration
- ActionView::PartialRenderer
- ActionView::Renderer
- ActionView::Resolver
- ActionView::Template
- ActionView::TemplateDetails
- ActionView::TemplatePath
- ActionView::TestCase
- ActionView::UnboundTemplate
Methods
Constants
ENCODING_FLAG | = | '#.*coding[:=]\s*(\S+)[ \t]*' |
TemplateError | = | Template::Error |
Class Public methods
eager_load!()
📝 Source code
# File actionview/lib/action_view.rb, line 93
def self.eager_load!
super
ActionView::Helpers.eager_load!
ActionView::Template.eager_load!
end
🔎 See on GitHub
gem_version()
Returns the currently loaded version of Action View as a Gem::Version
.
📝 Source code
# File actionview/lib/action_view/gem_version.rb, line 5
def self.gem_version
Gem::Version.new VERSION::STRING
end
🔎 See on GitHub
version()
Returns the currently loaded version of Action View as a Gem::Version
.
📝 Source code
# File actionview/lib/action_view/version.rb, line 7
def self.version
gem_version
end
🔎 See on GitHub