The problem was that the checkbox_tag field that observe_field was observing had
the same name as the surrounding <div>. I
have no idea why prototype would get confused about that, but changing the name
of the check_box_tag fixed the problem. Three days of head banging ;-(
Anybody else think this should be written up as a bug?
Thanks,
Bill
----- Original Message -----
From: Bill Walton
To: Instant Rails DEV ; instantrails-users at rubyforge.org
Sent: Wednesday, June 28, 2006 3:11 PM
Subject: [Instantrails-users] Assistance needed
Greetings!
I''ve been having a problem using observe_field, have been beating my
head against the proverbial wall for three days now and need some help figuring
out the source. It''s possible the problem''s my code, but
I''ve done everything possible to rule that out. It''s also
possible that somehow something in my IR 1.3 config has gotten messed up. And
lastly, I suppose it''s possible the problem is with the IR 1.3 distro.
I''ve got the app down to six files including the layout and stylesheet.
Would anybody be willing to try it out real quick and see if the problem shows
up on their system? The error message Firebug is throwing is
''Form.Element.Serializers[method] is not a function''
TIA,
Bill
------------------------------------------------------------------------------
_______________________________________________
Instantrails-users mailing list
Instantrails-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/instantrails-users/attachments/20060628/727ff137/attachment.html