Guest User

Untitled

a guest
Jan 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. user = User.create(
  2. username: "test",
  3. user_group_id: "AAA", # This data type is int in database
  4. password: "test",
  5. status: 1,
  6. date_added: DateTime.now.strftime("%Y-%m-%d %H:%M:%S"),
  7. date_updated: DateTime.now.strftime("%Y-%m-%d %H:%M:%S")
  8. )
Add Comment
Please, Sign In to add comment