method
    
    apply_form_for_options!
 
  apply_form_for_options!(object, options)
  private
  
    Hide source    
    
      
  
# File actionview/lib/action_view/helpers/form_helper.rb, line 464 def apply_form_for_options!(object, options) # :nodoc: object = convert_to_model(object) as = options[:as] namespace = options[:namespace] action = object.respond_to?(:persisted?) && object.persisted? ? :edit : :new options[:html] ||= {} options[:html].reverse_merge!( class: as ? "#{action}_#{as}" : dom_class(object, action), id: (as ? [namespace, action, as] : [namespace, dom_id(object, action)]).compact.join("_").presence, ) end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
 
   
   
   
   = protected
 = protected
  