Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/songs" for 127.0.0.1 at 2012-03-31 16:19:22 -0400
- Processing by SongsController#create as HTML
- 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"}
- Genre Load (88.9ms) SELECT "genres".* FROM "genres" WHERE "genres"."id" = ? LIMIT 1 [["id", 4]]
- Artist Load (0.0ms) SELECT "artists".* FROM "artists" WHERE "artists"."name" = 'Daft Punk' LIMIT 1
- Admin Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."type" IN ('Admin') AND "users"."id" = 7 LIMIT 1
- (0.0ms) begin transaction
- 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]]
- 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]]
- 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]]
- 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]]
- 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]]
- 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]]
- (169.9ms) commit transaction
- Redirected to http://localhost:3000/songs/41
- Completed 302 Found in 444ms (ActiveRecord: 280.3ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement