RailsCasts Pro episodes are now free!

Learn more or hide this

Psyose's Profile

GitHub User: psyose

Comments by Psyose

Avatar

Just needed to add the version in my Gemfile

before:
gem "active_model_serializers"

after:
gem "active_model_serializers", "~> 0.8.0"

Thanks

Avatar

I can't seem to be able to access "current_user" in the Serializer.

Error:
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?

Avatar

Has anyone been able to get CarrierWave and RMagick to work on jRuby?

My error: uninitialized constant Magick::ImageMagickError

Same error with RMagick4J...