RailsCasts Pro episodes are now free!

Learn more or hide this

Alexis Rabago Carvajal's Profile

GitHub User: alexisraca

Comments by Alexis Rabago Carvajal


i had some problems but it was because i was trying to render a file/object not an attribute, something like:

json.id @image.id
json.name @image.name
json.address @image.image

(using carrierwave)

then even tho it was ok and not rising any error it didnt know how to render a file object, I had to do:

json.address @image.image.route