Guest User

Untitled

a guest
Oct 29th, 2017
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. @user = User.find_by_email(params[:email])
  2.  
  3. yields...
  4.  
  5. output_create:#<User id: 1, crypted_password: "19cded22866e338e0cd2326571dde1bd6fb512a6ef8cf8d4856...", password_salt: "xVe0aQbUEdwCjENi4", persistence_token: "06c964d6af1d5b2a58d17f4326802d599ba302f38354abdfd64...", created_at: "2011-06-02 13:03:47", updated_at: "2011-06-14 17:45:09", email: "marklocklear@yahoo.com", contact_name: "", company_name: "Big Bustas Cinical", phone: "", number_employees: 4, perishable_token: "PQPKSoxRU7Sc2u9dWMif">
  6.  
  7. Why can't I use @user.email???
Add Comment
Please, Sign In to add comment