Forum: Ruby on Rails possible rails bug? form errors and scoping

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E1720faa5686cdd53c43290cfd86ceac?d=identicon&s=25 parker (Guest)
on 2005-12-09 03:44
(Received via mailing list)
I'm trying to render a _form partial in a separate controller and
running
into a nil object exception on the error_messages_for call. What is
interesting is that when I remove that line the form registers just
fine,
indicating the object is not nil.

I'm wondering if I'm missing something, or if this is an error (I'm not
sure how error_message_for works internally) with the rails framework?

Thanks much,

pt.
------
Parker Thompson
Professional
(w) http://placesite.com
(c) 510.541.0125
This topic is locked and can not be replied to.