SHARE
TWEET

Untitled

a guest Sep 12th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class User < ActiveRecord
  2.  
  3.   before_create do
  4.     self.email = self.email.downcase
  5.   end
  6.  
  7. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top