Compatibility with Rails::API
Fixed specs