Firstly, thanks to Sebastian K. for an excellent plugin! It works
marvellously for uploading and resizing images, but I’m getting the
url_for_file_column returns nil error.
I am using an instance variable as required in my view.
also returns nil. Any pointers?
<%= file_column_field “recipe”, “image” %>
<%= image_tag url_for_file_column(“recipe”, “image”) %>
@recipe = Recipe.find(params[:id])
(and is confirmed not to be nil)
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.first
Easy Schedule Management