Why do these behave differently in Ripple?

# Leaves key field blank
property :key, Integer, :presence => true, :default => 1234

# Populates key2 field with 1234
property :key2, Integer, :presence => true, :default => 1234

We'd like to use the key field as a standard (like the 'id' field is the 
default in ActiveRecord). Is this a bad idea and if so why?

M.



_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to