Michael,
Thank you for this, I will try it right away.
Mind if I ask where the best place to put this code in as a best practice
for Rails?
Matthew
On Fri, Apr 23, 2010 at 5:49 AM, Michael Pavling wrote:
> On 23 April 2010 01:23, Matthew Hillsborough
> wrote:
> > That is what I can't figure
On 23 April 2010 01:23, Matthew Hillsborough
wrote:
> That is what I can't figure out. Why am I getting Bars is invalid
> versus the error messages displayed above, ["Real can't be blank",
> "Real you must supply a valid email"] etc.
>
> How do I have this output the real error messages so the us
Can anyone explain why this happens?
mybox:$ ruby script/console
Loading development environment (Rails 2.3.5)
>> foo = Foo.new
=> #
>> bar = Bar.new
=> #
>> bar.save
=> false
>> bar.errors.each_full { |msg| puts msg }
Real can't be blank
Real You must s
3 matches
Mail list logo