I have a weird behavior where an object association triggers a save
when the parent record is not new.
My association is polymorphic like this
class UserGuideline < ActiveRecord::Base
has_one :recurring_task, :class_name => 'UserRecurringTask', :as
=> :taskable, :dependent => :destroy
class UserRecurringTask < ActiveRecord::Base
belongs_to :taskable, :polymorphic => true
g.recurring_task = UserRecurringTask.new
it triggers the save and the validation
Anyone had this issue?