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:
- E
- G
- V
Constants
ENCODING_FLAG |
= | '#.*coding[:=]\s*(\S+)[ \t]*' |
TemplateError |
= | 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
-
MODULE
ActionView::CacheExpiry -
MODULE
ActionView::Context -
MODULE
ActionView::Helpers -
MODULE
ActionView::Layouts -
MODULE
ActionView::RecordIdentifier -
MODULE
ActionView::Rendering -
MODULE
ActionView::RoutingUrlFor -
MODULE
ActionView::VERSION -
MODULE
ActionView::ViewPaths -
CLASS
ActionView::AbstractRenderer -
CLASS
ActionView::Base -
CLASS
ActionView::Digestor -
CLASS
ActionView::FileSystemResolver -
CLASS
ActionView::FixtureResolver -
CLASS
ActionView::LogSubscriber -
CLASS
ActionView::LookupContext -
CLASS
ActionView::NullResolver -
CLASS
ActionView::PartialIteration -
CLASS
ActionView::PartialRenderer -
CLASS
ActionView::Renderer -
CLASS
ActionView::Resolver -
CLASS
ActionView::Template -
CLASS
ActionView::TemplateDetails -
CLASS
ActionView::TemplatePath -
CLASS
ActionView::TestCase -
CLASS
ActionView::UnboundTemplate
actiontext/app/ helpers/ action_text/ tag_helper.rb actionview/lib/ action_view.rb actionview/lib/ action_view/ base.rb actionview/lib/ action_view/ buffers.rb actionview/lib/ action_view/ cache_expiry.rb
116 More Less
actionview/lib/ action_view/ context.rb actionview/lib/ action_view/ dependency_tracker.rb actionview/lib/ action_view/ dependency_tracker/ erb_tracker.rb actionview/lib/ action_view/ dependency_tracker/ ripper_tracker.rb actionview/lib/ action_view/ deprecator.rb actionview/lib/ action_view/ digestor.rb actionview/lib/ action_view/ flows.rb actionview/lib/ action_view/ gem_version.rb actionview/lib/ action_view/ helpers.rb actionview/lib/ action_view/ helpers/ active_model_helper.rb actionview/lib/ action_view/ helpers/ asset_tag_helper.rb actionview/lib/ action_view/ helpers/ asset_url_helper.rb actionview/lib/ action_view/ helpers/ atom_feed_helper.rb actionview/lib/ action_view/ helpers/ cache_helper.rb actionview/lib/ action_view/ helpers/ capture_helper.rb actionview/lib/ action_view/ helpers/ content_exfiltration_prevention_helper.rb actionview/lib/ action_view/ helpers/ controller_helper.rb actionview/lib/ action_view/ helpers/ csp_helper.rb actionview/lib/ action_view/ helpers/ csrf_helper.rb actionview/lib/ action_view/ helpers/ date_helper.rb actionview/lib/ action_view/ helpers/ debug_helper.rb actionview/lib/ action_view/ helpers/ form_helper.rb actionview/lib/ action_view/ helpers/ form_options_helper.rb actionview/lib/ action_view/ helpers/ form_tag_helper.rb actionview/lib/ action_view/ helpers/ javascript_helper.rb actionview/lib/ action_view/ helpers/ number_helper.rb actionview/lib/ action_view/ helpers/ output_safety_helper.rb actionview/lib/ action_view/ helpers/ rendering_helper.rb actionview/lib/ action_view/ helpers/ sanitize_helper.rb actionview/lib/ action_view/ helpers/ tag_helper.rb actionview/lib/ action_view/ helpers/ tags.rb actionview/lib/ action_view/ helpers/ tags/ base.rb actionview/lib/ action_view/ helpers/ tags/ check_box.rb actionview/lib/ action_view/ helpers/ tags/ checkable.rb actionview/lib/ action_view/ helpers/ tags/ collection_check_boxes.rb actionview/lib/ action_view/ helpers/ tags/ collection_helpers.rb actionview/lib/ action_view/ helpers/ tags/ collection_radio_buttons.rb actionview/lib/ action_view/ helpers/ tags/ collection_select.rb actionview/lib/ action_view/ helpers/ tags/ color_field.rb actionview/lib/ action_view/ helpers/ tags/ date_field.rb actionview/lib/ action_view/ helpers/ tags/ date_select.rb actionview/lib/ action_view/ helpers/ tags/ datetime_field.rb actionview/lib/ action_view/ helpers/ tags/ datetime_local_field.rb actionview/lib/ action_view/ helpers/ tags/ datetime_select.rb actionview/lib/ action_view/ helpers/ tags/ email_field.rb actionview/lib/ action_view/ helpers/ tags/ file_field.rb actionview/lib/ action_view/ helpers/ tags/ grouped_collection_select.rb actionview/lib/ action_view/ helpers/ tags/ hidden_field.rb actionview/lib/ action_view/ helpers/ tags/ label.rb actionview/lib/ action_view/ helpers/ tags/ month_field.rb actionview/lib/ action_view/ helpers/ tags/ number_field.rb actionview/lib/ action_view/ helpers/ tags/ password_field.rb actionview/lib/ action_view/ helpers/ tags/ placeholderable.rb actionview/lib/ action_view/ helpers/ tags/ radio_button.rb actionview/lib/ action_view/ helpers/ tags/ range_field.rb actionview/lib/ action_view/ helpers/ tags/ search_field.rb actionview/lib/ action_view/ helpers/ tags/ select.rb actionview/lib/ action_view/ helpers/ tags/ select_renderer.rb actionview/lib/ action_view/ helpers/ tags/ tel_field.rb actionview/lib/ action_view/ helpers/ tags/ text_area.rb actionview/lib/ action_view/ helpers/ tags/ text_field.rb actionview/lib/ action_view/ helpers/ tags/ time_field.rb actionview/lib/ action_view/ helpers/ tags/ time_select.rb actionview/lib/ action_view/ helpers/ tags/ time_zone_select.rb actionview/lib/ action_view/ helpers/ tags/ translator.rb actionview/lib/ action_view/ helpers/ tags/ url_field.rb actionview/lib/ action_view/ helpers/ tags/ week_field.rb actionview/lib/ action_view/ helpers/ tags/ weekday_select.rb actionview/lib/ action_view/ helpers/ text_helper.rb actionview/lib/ action_view/ helpers/ translation_helper.rb actionview/lib/ action_view/ helpers/ url_helper.rb actionview/lib/ action_view/ layouts.rb actionview/lib/ action_view/ log_subscriber.rb actionview/lib/ action_view/ lookup_context.rb actionview/lib/ action_view/ model_naming.rb actionview/lib/ action_view/ path_registry.rb actionview/lib/ action_view/ path_set.rb actionview/lib/ action_view/ railtie.rb actionview/lib/ action_view/ record_identifier.rb actionview/lib/ action_view/ render_parser.rb actionview/lib/ action_view/ renderer/ abstract_renderer.rb actionview/lib/ action_view/ renderer/ collection_renderer.rb actionview/lib/ action_view/ renderer/ object_renderer.rb actionview/lib/ action_view/ renderer/ partial_renderer.rb actionview/lib/ action_view/ renderer/ partial_renderer/ collection_caching.rb actionview/lib/ action_view/ renderer/ renderer.rb actionview/lib/ action_view/ renderer/ streaming_template_renderer.rb actionview/lib/ action_view/ renderer/ template_renderer.rb actionview/lib/ action_view/ rendering.rb actionview/lib/ action_view/ ripper_ast_parser.rb actionview/lib/ action_view/ routing_url_for.rb actionview/lib/ action_view/ template.rb actionview/lib/ action_view/ template/ error.rb actionview/lib/ action_view/ template/ handlers.rb actionview/lib/ action_view/ template/ handlers/ builder.rb actionview/lib/ action_view/ template/ handlers/ erb.rb actionview/lib/ action_view/ template/ handlers/ erb/ erubi.rb actionview/lib/ action_view/ template/ handlers/ html.rb actionview/lib/ action_view/ template/ handlers/ raw.rb actionview/lib/ action_view/ template/ html.rb actionview/lib/ action_view/ template/ inline.rb actionview/lib/ action_view/ template/ raw_file.rb actionview/lib/ action_view/ template/ renderable.rb actionview/lib/ action_view/ template/ resolver.rb actionview/lib/ action_view/ template/ sources.rb actionview/lib/ action_view/ template/ sources/ file.rb actionview/lib/ action_view/ template/ text.rb actionview/lib/ action_view/ template/ types.rb actionview/lib/ action_view/ template_details.rb actionview/lib/ action_view/ template_path.rb actionview/lib/ action_view/ test_case.rb actionview/lib/ action_view/ testing/ resolvers.rb actionview/lib/ action_view/ unbound_template.rb actionview/lib/ action_view/ version.rb actionview/lib/ action_view/ view_paths.rb activestorage/lib/ active_storage/ engine.rb