Class: ActionView::Component::Base

Inherits:
ViewComponent::Base show all
Includes:
ActiveModel::Validations
Defined in:
lib/action_view/component/base.rb

Instance Method Summary collapse

Methods inherited from ViewComponent::Base

call_method_name, compile, compile!, compiled?, #controller, #format, #helpers, identifier, inherited, #initialize, inlined?, #render, #render?, #render_in, source_location, type, variants, #view_cache_dependencies, #virtual_path, #with, with_content_areas

Constructor Details

This class inherits a constructor from ViewComponent::Base

Instance Method Details

#before_render_checkObject



8
9
10
# File 'lib/action_view/component/base.rb', line 8

def before_render_check
  validate!
end