Isn't validation supposed to validate either attributes who aren't stored in riak ?
It seems they are not.
require 'ripple'
class User
include Ripple::Document
attr_accessor :password
validates :password, presence: true, on: :create
end
u = User.new
u.new? #=> true
u.valid? #=> true
Isn't validation supposed to validate either attributes who aren't stored in riak ? It seems they are not.