lib/bureaucrat/forms.rb
# Populates the passed object's attributes with data from the fields
Populates the passed object's attributes with data from the fields
Populates the passed object ' s attributes with data from the fields
def populate_object(object)
        @fields.each do |name, field|
          field.populate_object(object, name, @cleaned_data[name])
        end
      end
def populate_object ( object ) @fields . each do | name , field | field . populate_object ( object , name , @cleaned_data [ name ] ) end end
Populates the passed object's attributes with data from the fields
Populates the passed object ' s attributes with data from the fields
object
<not_specific>