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
> 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 documenttion for it.
>
> --
> Posted via http://www.ruby-forum.com/.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/RQA7_97btXwJ.
For more options, visit https://groups.google.com/groups/opt_out.