Yan Pritzker photographer, entrepreneur, software engineer, musician, skier

Blog :: Git Workflows Book :: Dotfiles :: Photography :: About Me

TwitterCounter for @skwp

Get the news feed
Get updates by email
Follow me on twitter

hello, i'm yan

I am a photographer, entrepreneur, software engineer, guitarist, climber, and telemark skier

This blog is about startups, blogging, Ruby On Rails, virtualization and cloud computing, photography, customer service, marketing, ux and design, git, and lots more.

I am the chief technical something or other at Reverb.com - The Marketplace for Musicians. We're hiring web designers!

Recent Tweets

Selected Reading

Archives

Contact

Reach me at yan at pritzker.ws

Posts Tagged RubyOnRails

Rails plugin: view a tree of all your partials

Trying to refactor your views? Too many partials got you down? Let PartialMap help! Draws an ascii or html tree of all your views and the partials that they reference. The tool is very simple and has a plugin formatter architecture so you can create formatters for other views. Please fork and contribute, or just [...]


Rails Tips: Make fixtures play nice with acts_as_paranoid

I was trying to write a test involving deleted items on a project using acts_as_paranoid (which marks objects with a deleted_at date instead of actually deleting them). When I created a fixture with a deleted_at date set, it turns out that making the fixture retrieval call items(:deleted_item) would fail because internally the fixtures use a [...]


Debugging technique for Rails: decode the session cookie

Ever try to debug a problem and needed to see what was inside the user’s session at the time? If you’re using the cookie session store (Rails 2.x), you can now use this tool to take a look: http://pastie.org/235017 Simply invoke it like this: DebugTools.show_session("your long session id goes in here") The code deals with [...]


← Before