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:
I get
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.
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") %>
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.