My association to models as follows
People model
belongs_to :category
has_one :account, :through => :category
category model
belongs_to :account
has_many :bookings
account model
has_many :categories
Level model
accepts_nested_attributes :peoples
I wrote
@level.update_attributes(params[:level])
in Level controller.
Here when I update the level model then it also updates the updated_at flag in account_model. I want to avoid the update happen in account model i.e, avoid setting up updated_at flag in account model. how can I avoid this?