On Aug 3, 2005, at 9:53 AM, Peter Fitzgibbons wrote:> Under what conditions would ActiveRecord:Base#save return false?
When the validations fail.> How do I forward the errors to the view if this is happening in a
> controller ?
You can access the errors property of a model (foo.errors) and query
it directly (http://api.rubyonrails.com/classes/ActiveRecord/
Errors.html).
- Jamis> Peter J. Fitzgibbons
> Applications Manager
> Lakewood Homes - "The American Dream Builder"(r)
> Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org
> (847) 884-8800