Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def facebook_login
- render json: {users:User.all}
- end
- create_table "users", force: :cascade do |t|
- t.string "email"
- t.string "first_name"
- t.string "last_name"
- t.string "gender"
- t.string "birthday"
- t.string "bio"
- t.string "facebook_id"
- t.string "avatar"
- t.string "password_digest"
- t.string "auth_token"
- t.boolean "admin", default: false, null: false
- end
- Started POST "/facebook_login.json" for 192.168.1.7 at 2015-07-06 03:39:07 -0400
- Cannot render console from 192.168.1.7! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
- Processing by HomeController#facebook_login as JSON
- Parameters: {"avatar"=>"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/10891984_10100428479784882_2780393036688516385_n.jpg?oh=b745f67a9aa8f12eeb283962473bade0&oe=5621674B&__gda__=1444484154_c3db5d55964941a930530b70aa6ef44c", "first_name"=>"Tara", "bio"=>"", "last_name"=>"Lloyd", "birthday"=>"07/08/1985", "email"=>"tlloyd07@gmail.com", "facebook_id"=>"10100528233672292", "auth_token"=>"750435390234913", "home"=>{"avatar"=>"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/10891984_10100428479784882_2780393036688516385_n.jpg?oh=b745f67a9aa8f12eeb283962473bade0&oe=5621674B&__gda__=1444484154_c3db5d55964941a930530b70aa6ef44c", "first_name"=>"Tara", "bio"=>"", "last_name"=>"Lloyd", "birthday"=>"07/08/1985", "email"=>"tlloyd07@gmail.com", "facebook_id"=>"10100528233672292", "auth_token"=>"750435390234913"}}
- User Load (13.6ms) SELECT "users".* FROM "users"
- Completed 200 OK in 989ms (Views: 968.5ms | ActiveRecord: 13.9ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement