Module: ActiveScaffold::Actions::Core
- Defined in:
- lib/active_scaffold/actions/core.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/active_scaffold/actions/core.rb', line 3 def self.included(base) base.class_eval do after_filter :clear_flashes end base.helper_method :nested? base.helper_method :beginning_of_chain base.helper_method :new_model end |
Instance Method Details
#render_field ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/active_scaffold/actions/core.rb', line 11 def render_field if params[:in_place_editing] render_field_for_inplace_editing else render_field_for_update_columns end end |