Skip to content

Instantly share code, notes, and snippets.

@arbales
Created April 20, 2012 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arbales/2424995 to your computer and use it in GitHub Desktop.
Save arbales/2424995 to your computer and use it in GitHub Desktop.
[30] deathstar » u.update_attribute :avatar, nil
[2012-04-19 17:13:28] DEBUG ActiveRecord::Base : (0.1ms) BEGIN
[2012-04-19 17:13:28] DEBUG ActiveRecord::Base : User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."authentication_token" = 'HVFEqWx2Ez6skS6vLx4x' LIMIT 1
[2012-04-19 17:13:28] DEBUG ActiveRecord::Base : (0.4ms) UPDATE "users" SET "avatar" = '18b7c9da-fe75-4bce-b526-76f215026890.png', "authentication_token" = 'HVFEqWx2Ez6skS6vLx4x', "updated_at" = '2012-04-20 00:13:28.494414' WHERE "users"."id" = 2
[2012-04-19 17:13:28] DEBUG ActiveRecord::Base : (1.9ms) COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment