Skip to Content Skip to Search

module ActionView

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:

Constants

'#.*coding[:=]\s*(\S+)[ \t]*'
Template::Error

Public class methods

Source code GitHub
# File actionview/lib/action_view.rb, line 93
def self.eager_load!
  super
  ActionView::Helpers.eager_load!
  ActionView::Template.eager_load!
end

Returns the currently loaded version of Action View as a Gem::Version.

Source code GitHub
# File actionview/lib/action_view/gem_version.rb, line 5
def self.gem_version
  Gem::Version.new VERSION::STRING
end

Returns the currently loaded version of Action View as a Gem::Version.

Source code GitHub
# File actionview/lib/action_view/version.rb, line 7
def self.version
  gem_version
end

Namespace

Definition files

117 More Less