I’m newbie to RoR, can anybody explain what is the purpose of
“:with_disabled => true” in
belongs_to :person, :class_name => ‘Party’, :foreign_key => ‘person_id’,
:with_disabled => true
Because I’m getting the following error
Unknown key(s): with_disabled
FYI: I couldnt find any documention for it.
On Friday, April 26, 2013 11:35:39 AM UTC+1, Ruby-Forum.com User wrote:
I’m newbie to RoR, can anybody explain what is the purpose of
“:with_disabled => true” in
I don’t think that exists at all as an option on belongs_to. What makes
you
think it should exist? The only similarly named thing is submit_tag
which
takes a :disable_with option if my memory is correct
Fred