On Tuesday, March 27, 2018 at 2:12:27 PM UTC-4, Walter Lee Davis wrote:
>
> Read the docs I linked you to, and if that doesn't explain it, then ask 
> the author of the code you're extending. It's possible that it is passing a 
> reference to a proc or lambda, but I have not seen that exact code before, 
> so I can only guess. 
>
> Walter 
>
> > On Mar 27, 2018, at 2:04 PM, fugee ohu <fuge...@gmail.com <javascript:>> 
> wrote: 
> > 
> > Thanks Walter And passing a symbol to message: how does that work? 
> > 
> > 
>
> I changed it to 
validate :auction_active?, message: self.errors
and now page loads without any errors

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/174e8b7e-afc4-48fd-8288-511a2556f49a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to