Use rails-api with Rails 3