of course!

No piece of code that I write on a mailing list has actually been run, it’s 
just all from my brain. Take all advice with a skeptical eye for 
omissions/errors like that. 


> On Dec 12, 2014, at 12:31 AM, Matt Jones <[email protected]> wrote:
> 
> This won't work, unfortunately - `validates_uniqueness_of` is expecting a 
> column name. Swapping in :user_id would, though.
> 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0B6DB6E3-2766-4C27-9269-2B48417A7B42%40datatravels.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to