You're on the right track. It might be best to make a built-in function that
can handle more than one possibility, for example:
var Ripple = {
mapByFields: function(value, keyData, fields){
if(!value.not_found){
var object = Riak.mapValuesJson(value)[0];
for(field
Hi,
Using Ripple, I wonder what is the best way to implement a simple
find_by_email function.
Since i don't want to use the email as a key, is there another way
that using a mapreduce function ?
Many thanks,
Samuel (newbie)
require 'ripple'
require 'digest/d5'
class User
include Ripple::D