ripple and presence property

Sean Cribbs sean at basho.com
Mon Oct 8 14:13:19 EDT 2012


That is a passthrough to validations, so it is equivalent to:

property :email, String
validates_presence_of :email

On Mon, Oct 8, 2012 at 11:08 AM, Charlie Bowman
<charlesmbowman at gmail.com> wrote:
> I can't seem to find any information on the :presence property of ripple.
> e.g.
>
>   property :email, String, :presence => true
>
> I've also searched the source code for ripple, including tests and can't
> seem to find any info on what this actually does.
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <sean at basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/




More information about the riak-users mailing list