Arthur (and others) , it would help others if you would post your working
code after you get it working so it will show up when someone searches the
group. : -)

-Owen

On Mon, Jan 16, 2012 at 4:11 PM, Arthur Baldwin <[email protected]> wrote:

> Ok, I got it working!  I had forgotten to include a colon in front of the
> field names between the opening and closing brackets.
>
> Arthur
>
>   ------------------------------
> *From:* Arthur Baldwin <[email protected]>
> *To:* "[email protected]" <[email protected]>
> *Sent:* Monday, January 16, 2012 12:24 PM
> *Subject:* Re: [Hobo Users] Re: Multi - Field Uniqueness
>
> What do you mean when you say "fall back to the rails validation"?  Do I
> need to make changes to a different file than the conact.rb file in the
> models directory?
>
> Arthur
>
>   ------------------------------
> *From:* kevinpfromnm <[email protected]>
> *To:* [email protected]
> *Cc:* Arthur Baldwin <[email protected]>
> *Sent:* Monday, January 16, 2012 12:03 PMco
> *Subject:* [Hobo Users] Re: Multi - Field Uniqueness
>
> you'll need to fall back to the rails validation (which the hobo is a
> rails validation, just a shortcut for a common use case).
>
> IIRC, the syntax is like validates_uniqueness_of :field, :scope =>
> [:other_field1,...]
>
> If that's not enough to get you going, you can get to the rails docs
> pretty easy with a quick google search on validates_uniquess_of (should
> autocomplete after the u)
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/VvjxOt3xpyAJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>
>   --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>
>   --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>



-- 
-Owen

Owen Dall, Chief Systems Architect
Barquin International
www.barquin.com
Cell: 410-991-0811

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to