I can now see the administative_unit on the employee edit page. But 
when I try to save the changes to this, I get no error and at the same 
time the administrative_unit does not reflect the change that I made. 
These are the contents of the models.

class AdministrativeUnit < ActiveRecord::Base

  hobo_model # Don't put anything above this

  fields do
    name :string
    timestamps
  end
  attr_accessible :name, :employees
  has_many :employees, :accessible => true


class Employee < ActiveRecord::Base

  hobo_model # Don't put anything above this

  fields do
    name                           :string
    timestamps
  end

  attr_accessible :name, :administrative_unit
  belongs_to :administrative_unit


--
Saludos libres,
Quiliro Ordóñez
600 8579

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to