Getting atomic working for Rails 3