Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New 0.9 gem does not work out of the box with rails-api #600
I'm not sure whether this issue should be opened here or on the
For those of you that are experiencing the issue, that means that you can just add the following to
If this behaviour is intended, shouldn't it be mentioned in the README?
I'm on Rails 4.1.5, rails-api 0.2.1 and active_model_serializers 0.9.0.
I have the same issue, after update 175 tests fail :-( go back to 8.1 and all the tests pass:
Below are some examples:
added a commit
Aug 30, 2014
referenced this issue
Feb 13, 2016
→ rails g scaffold User Running via Spring preloader in process 20090 invoke active_record create db/migrate/20160911170034_create_users.rb create app/models/user.rb invoke test_unit create test/models/user_test.rb create test/fixtures/users.yml invoke resource_route route resources :users create app/serializers/user_serializer.rb invoke scaffold_controller Could not find "api_controller.rb" in any of your source paths. Your current source paths are: /Users/anuj/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/active_model_serializers-0.9.5/lib/active_model/serializer/generators/serializer/templates