Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User < ActiveRecord
- before_create do
- self.email = self.email.downcase
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement