Followed along with Railscast 059 Optimistic Locking