You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2023. It is now read-only.
I'm trying to use ember-schema with a simple todo app's api. When querying the API from a browser or curl, the response comes back correctly but when I try to run 'rake migrate' I get the following error
#<NoMethodError: undefined method `_options' for TodoSerializer:Class>
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema/active_model.rb:37:in `block in schema'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema/active_model.rb:36:in `each'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema/active_model.rb:36:in `schema'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema.rb:35:in `block in generate'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema.rb:22:in `each'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/ember/schema.rb:22:in `generate'
/Users/brandon/.rvm/gems/ruby-2.2.2/gems/ember-schema-0.0.2/lib/tasks/ember.rake:9:in `block (3 levels) in <top (required)>'
I also had to add a 'self.final_name' method before getting the above error.
Not sure what's going on since there isn't anything fancy happening and the project is extremely basic.