We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got undefined method include?' for nil:NilClass Stack Trace: cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:127:informat' cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:149:in my_filename' cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:136:inurl' carrierwave (0.5.8) lib/carrierwave/uploader/url.rb:30:in as_json' activesupport (3.2.2) lib/active_support/json/encoding.rb:47:inblock in encode' activesupport (3.2.2) lib/active_support/json/encoding.rb:77:in check_for_circular_references' activesupport (3.2.2) lib/active_support/json/encoding.rb:46:inencode' activesupport (3.2.2) lib/active_support/json/encoding.rb:31:in encode' activesupport (3.2.2) lib/active_support/core_ext/object/to_json.rb:16:into_json' app/controllers/application_controller.rb:21:in `to_json'
include?' for nil:NilClass Stack Trace: cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:127:in
my_filename' cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:136:in
as_json' activesupport (3.2.2) lib/active_support/json/encoding.rb:47:in
check_for_circular_references' activesupport (3.2.2) lib/active_support/json/encoding.rb:46:in
encode' activesupport (3.2.2) lib/active_support/core_ext/object/to_json.rb:16:in
When I call user.to_json, I use carrierwave for mongoid (Rails 3.2.2)
The text was updated successfully, but these errors were encountered:
Issue #2: Adding support to Mongoid and fixing to_json issue
f5b9c79
@tranngocsam Thanks for the report. The to_json issue was fixed. We also added mongoid support. Both are available in the newly released GEM (v1.0.7).
Sorry, something went wrong.
Thanks Nadavs, it's fixed
No branches or pull requests
I got undefined method
include?' for nil:NilClass Stack Trace: cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:127:in
format'cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:149:in
my_filename' cloudinary (1.0.4) lib/cloudinary/carrier_wave.rb:136:in
url'carrierwave (0.5.8) lib/carrierwave/uploader/url.rb:30:in
as_json' activesupport (3.2.2) lib/active_support/json/encoding.rb:47:in
block in encode'activesupport (3.2.2) lib/active_support/json/encoding.rb:77:in
check_for_circular_references' activesupport (3.2.2) lib/active_support/json/encoding.rb:46:in
encode'activesupport (3.2.2) lib/active_support/json/encoding.rb:31:in
encode' activesupport (3.2.2) lib/active_support/core_ext/object/to_json.rb:16:in
to_json'app/controllers/application_controller.rb:21:in `to_json'
When I call user.to_json, I use carrierwave for mongoid (Rails 3.2.2)
The text was updated successfully, but these errors were encountered: