Method: IsActiveModelHelper#initialize
- Defined in:
- app/helpers/is_active_model_helper.rb
#initialize(*args) ⇒ Object
4 5 6 7 8 |
# File 'app/helpers/is_active_model_helper.rb', line 4 def initialize(*args) super(*args) is_active = true if new_record? end |