Skip to content

Instantly share code, notes, and snippets.

@potomak
Forked from bugant/rails_api_template.rb
Last active December 20, 2015 00:09
Show Gist options
  • Save potomak/6039721 to your computer and use it in GitHub Desktop.
Save potomak/6039721 to your computer and use it in GitHub Desktop.
gem 'rails-api'
gem 'active_model_serializers'
gem_group :development, :test do
gem 'debugger'
gem 'rspec-rails'
gem 'shoulda-matchers'
gem 'factory_girl_rails'
end
initializer 'strong_parameters.rb', <<-CODE
ActionController::API.send :include, ActionController::StrongParameters
CODE
run 'rm -r test'
run 'bundle install'
generate 'rspec:install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment