skip to main
|
skip to sidebar
Geek Stuff
Friday, 12 February 2010
Rails: NoMethodError if validation fails
This sometimes happens if you load objects in the edit method, but don't load the same objects in the update - if the validation fails, the view is generated by update, and the objects aren't there.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(5)
►
April
(1)
▼
February
(1)
Rails: NoMethodError if validation fails
►
January
(3)
►
2009
(1)
►
September
(1)
No comments:
Post a Comment