-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NameError: uninitialized constant ActiveModel::Serializer::Reflection #59
Comments
Hi @pramodshinde ) try to use |
@stokarenko Thanks for the response. Is it not supported with |
@pramodshinde yeah we are forced to patch AMS |
I agree with @stokarenko - adding support for lower versions would be too much work. I posted a PR to lock min version of AMS to 0.10.0.rc4: #60 |
* Lock minimum AMS version to 0.10.0.rc4 closes #59 * Add thread_safe dependency
Please help me with the issue, I'm missing something?
Added following gems, bundle ran smoothly
On running rake middlewares or rails c getting following error,
rake aborted!
'NameError: uninitialized constant ActiveModel::Serializer::Reflection
/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/ams_lazy_relationships-0.3.0/lib/ams_lazy_relationships/extensions/reflection.rb:71:in
<top (required)>' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/ams_lazy_relationships-0.3.0/lib/ams_lazy_relationships/extensions.rb:3:in
<top (required)>'/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/ams_lazy_relationships-0.3.0/lib/ams_lazy_relationships.rb:7:in
<top (required)>' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in
require'/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in
block (2 levels) in require' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in
each'/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in
block in require' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in
each'/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in
require' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/gems/bundler-2.1.4/lib/bundler.rb:174:in
require'/Users/pramod/projects/tpn/bullet_api/config/application.rb:20:in
<top (required)>' /Users/pramod/projects/tpn/bullet_api/Rakefile:4:in
require'/Users/pramod/projects/tpn/bullet_api/Rakefile:4:in
<top (required)>' /Users/pramod/.rvm/gems/ruby-2.6.6@my_project/bin/ruby_executable_hooks:24:in
eval'/Users/pramod/.rvm/gems/ruby-2.6.6@my_project/bin/ruby_executable_hooks:24:in `
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered: