Created
November 29, 2012 00:26
-
-
Save twestonkendall/4165826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i still need to send the asset_id through. | |
show wants the asset_id because im not using a helper_method like current_user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started PUT "/1/13/asset_steps/files" for 127.0.0.1 at 2012-11-28 16:23:00 -0800 | |
Processing by AssetStepsController#update as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pkK7iXpzWYiw+afb2pTscZ7DWkbZw4qb8npHSmkK8Aw=", "commit"=>"Save", "team_id"=>"1", "asset_id"=>"13", "id"=>"files"} | |
Asset Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."slug" = '13' LIMIT 1 | |
(0.1ms) SELECT sluggable_id FROM "friendly_id_slugs" WHERE sluggable_type = 'Asset' AND slug = '13' | |
Asset Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."id" = ? LIMIT 1 [["id", "13"]] | |
(0.2ms) SELECT 1 FROM "assets" WHERE ("assets"."title" = 'gogo' AND "assets"."id" != 13) LIMIT 1 | |
FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = 13 AND "friendly_id_slugs"."sluggable_type" = 'Asset' ORDER BY "friendly_id_slugs".id DESC LIMIT 1 | |
Redirected to http://0.0.0.0:3000/asset_steps/finish | |
Completed 302 Found in 89ms | |
Started GET "/asset_steps/finish" for 127.0.0.1 at 2012-11-28 16:23:00 -0800 | |
Processing by AssetStepsController#show as HTML | |
Parameters: {"id"=>"finish"} | |
Completed 404 Not Found in 204ms | |
ActiveRecord::RecordNotFound (Couldn't find Asset without an ID): | |
app/controllers/asset_steps_controller.rb:6:in `show' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment