Skip to content

Instantly share code, notes, and snippets.

@superhighfives
Created March 2, 2017 18:40
Show Gist options
  • Save superhighfives/8e3a9472449de5fbbb48a622048265a0 to your computer and use it in GitHub Desktop.
Save superhighfives/8e3a9472449de5fbbb48a622048265a0 to your computer and use it in GitHub Desktop.
Rails 5 API + ActiveAdmin + create-react-app on Heroku
$ bin/rails g scaffold drink
Running via Spring preloader in process 38277
Expected string default value for '--serializer'; got true (boolean)
invoke active_record
create db/migrate/20170302183027_create_drinks.rb
create app/models/drink.rb
invoke test_unit
create test/models/drink_test.rb
create test/fixtures/drinks.yml
invoke resource_route
route resources :drinks
invoke serializer
create app/serializers/drink_serializer.rb
invoke inherited_resources_controller
Could not find "api_controller.rb" in any of your source paths. Your current source paths are:
/usr/local/var/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/bundler/gems/inherited_resources-615b0d5c37a4/lib/generators/rails/templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment