>From an implementation standpoint, see

https://github.com/basho/ripple/blob/master/lib/ripple/validations/associated_validator.rb

which does the passthrough to:

http://guides.rubyonrails.org/active_record_validations_callbacks.html#presence

I believe

On Mon, Oct 8, 2012 at 11:13 AM, Sean Cribbs <[email protected]> wrote:
> 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
> <[email protected]> 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
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>
>
>
> --
> Sean Cribbs <[email protected]>
> Software Engineer
> Basho Technologies, Inc.
> http://basho.com/
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to