Add back Rails 3 support