Any Rails experts around?

Soldato
Joined
17 Oct 2002
Posts
3,098
Hi, I'm just starting out with Rails but I'm stuck trying to get filecolumn to work.

Basically it's not uploading anything at all (when I check the folder it's supposed to save to it's empty) and so when I try and use the following:
Code:
<%= image_tag url_for_file_column("production", "image") %>
I get
You have a nil object when you didn't expect it!
The error occured while evaluating nil.image_relative_path

I've googled for ages to find out what I've done wrong. I tried to follow the instructions for it as best I could but something is obviously not right.

If someone has any help or advice to offer I would be eternally grateful.
 
Yep, that's pretty much the only instructions I could find for it really.

If you get back into Rails and ever get filecolumn to work then let me know how you did it. I seem to be the only person in the whole world who's struggling with it.
 
I got it working in the end. Just a bit of confusion with the rails friendly naming conventions.

I've gone and made my own photo gallery with albums and lighbox integration :D
 
Back
Top Bottom