Access denied, Please sign in and make sure you have proper permission.

新手问题 How to valid the ActiveRecord object use special validation ?

whitecrow · March 05, 2013 · Last by whitecrow replied at March 05, 2013 · 1608 hits
def self.duplicated_full_name_profiles
     validates_uniqueness_of :first_name, scope: :last_name
     #(xxxxxxxxxxxxxx)
end
You need to Sign in before reply, if you don't have an account, please Sign up first.