method
    
    emitted_hidden_id?
 
  
      v3.1.0 - 
      Show latest stable
 - 
    1 note - 
    Class: ActionView::Helpers::FormBuilder
    
  
  
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8 (0)
- 3.0.0 (0)
- 3.0.9 (0)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7 (0)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (0)
- 7.1.3.2 (0)
- 7.1.3.4 (0)
- What's this?
  
    
      Register or 
      log in
      to add new notes.
  
  
  
  
      
     Ajedi32 -  
    February  8, 2013 - (>= v2.3.8)
 Ajedi32 -  
    February  8, 2013 - (>= v2.3.8)
    
  
  
  
       
  
  
  
           Ajedi32 -  
    February  8, 2013 - (>= v2.3.8)
 Ajedi32 -  
    February  8, 2013 - (>= v2.3.8)
    
  
    
    0 thanks
     
  
  
  The purpose of this method
This method keeps track of whether a hidden id field needs to be created when the form builder is generating fields for a nested model. It gets set to true by #hidden_field when that method is used to create a field named ‘id’.
Here’s an example of what this can be useful for: http://railsforum.com/viewtopic.php?id=39640

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