RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: psyose
Just needed to add the version in my Gemfile
gem "active_model_serializers", "~> 0.8.0"
I can't seem to be able to access "current_user" in the Serializer.
undefined local variable or method `current_user' for #PostSerializer:0x5bcd9af2
The current_user is available in my controllers and views. (jRuby on Rails with Devise)
Does anyone have an idea why this might be?
Has anyone been able to get CarrierWave and RMagick to work on jRuby?
My error: uninitialized constant Magick::ImageMagickError
Same error with RMagick4J...
Thanks - this worked for me.