Skip to content

Instantly share code, notes, and snippets.

@johnbeynon
Created January 5, 2012 17:22
Show Gist options
  • Save johnbeynon/1566228 to your computer and use it in GitHub Desktop.
Save johnbeynon/1566228 to your computer and use it in GitHub Desktop.
Loading development environment (Rails 3.2.0.rc2)
>> Photo.last
Photo Load (0.9ms) SELECT "photos".* FROM "photos" ORDER BY "photos"."id" DESC LIMIT 1
#<Photo:0x007fabb4fb0da8> {
:id => 15,
:user_id => 1,
:yacht_id => 11,
:image => "DSCF2077.jpeg",
:primary => false,
:created_at => Fri, 30 Dec 2011 09:16:48 UTC +00:00,
:updated_at => Fri, 30 Dec 2011 09:16:48 UTC +00:00,
:image_file_name => nil,
:image_content_type => nil,
:image_file_size => nil,
:image_updated_at => nil
}
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment