Flowdock
method

emitted_hidden_id?

Importance_1
Ruby on Rails latest stable (v4.0.2) - 1 note - Class: ActionView::Helpers::FormBuilder
emitted_hidden_id?() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Show source
Register or log in to add new notes.
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