Support the digest option on Rails 3.2