Advertisement
Guest User

Untitled

a guest
Mar 31st, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 2.48 KB | None | 0 0
  1. Started POST "/songs" for 127.0.0.1 at 2012-03-31 16:19:22 -0400
  2. Processing by SongsController#create as HTML
  3.   Parameters: {"utf8"=>"รขล“โ€œ", "authenticity_token"=>"fgmzuBzKZatOh6AyEBAYQvsF5MEvKCbCsv3/icUsg8g=", "song"=>{"title"=>"Sail", "artists_attributes"=>{"0"=>{"name"=>"Daft Punk"}}, "albums_attributes"=>{"0"=>{"name"=>"Tron"}}, "genre_ids"=>["4"], "source"=>"http://youtube.com/3"}, "commit"=>"Create Song"}
  4.   Genre Load (88.9ms)  SELECT "genres".* FROM "genres" WHERE "genres"."id" = ? LIMIT 1  [["id", 4]]
  5.   Artist Load (0.0ms)  SELECT "artists".* FROM "artists" WHERE "artists"."name" = 'Daft Punk' LIMIT 1
  6.   Admin Load (0.0ms)  SELECT "users".* FROM "users" WHERE "users"."type" IN ('Admin') AND "users"."id" = 7 LIMIT 1
  7.    (0.0ms)  begin transaction
  8.   SQL (18.6ms)  INSERT INTO "songs" ("album", "artist_id", "created_at", "source", "source_id", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["album", ""], ["artist_id", nil], ["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["source", "http://youtube.com/3"], ["source_id", 95], ["title", "Sail"], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["user_id", 7]]
  9.   SQL (1.0ms)  INSERT INTO "song_genre_maps" ("created_at", "genre_id", "song_id", "updated_at") VALUES (?, ?, ?, ?)  [["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["genre_id", 4], ["song_id", 41], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00]]
  10.   SQL (0.0ms)  INSERT INTO "artists" ("created_at", "name", "updated_at") VALUES (?, ?, ?)  [["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["name", "Daft Punk"], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00]]
  11.   SQL (1.0ms)  INSERT INTO "song_artist_maps" ("artist_id", "created_at", "song_id", "updated_at") VALUES (?, ?, ?, ?)  [["artist_id", 19], ["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["song_id", 41], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00]]
  12.   SQL (0.0ms)  INSERT INTO "albums" ("created_at", "name", "updated_at") VALUES (?, ?, ?)  [["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["name", "Tron"], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00]]
  13.   SQL (1.0ms)  INSERT INTO "song_album_maps" ("album_id", "created_at", "song_id", "updated_at") VALUES (?, ?, ?, ?)  [["album_id", 9], ["created_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00], ["song_id", 41], ["updated_at", Sat, 31 Mar 2012 20:19:23 UTC +00:00]]
  14.    (169.9ms)  commit transaction
  15. Redirected to http://localhost:3000/songs/41
  16. Completed 302 Found in 444ms (ActiveRecord: 280.3ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement