Skip to content

Instantly share code, notes, and snippets.

@yyalim
Created October 14, 2015 06:11
Show Gist options
  • Save yyalim/13fc345b383be42d7ef6 to your computer and use it in GitHub Desktop.
Save yyalim/13fc345b383be42d7ef6 to your computer and use it in GitHub Desktop.
class User < ActiveRecord::Base
validates_confirmation_of :password, message: "custom message."
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment