I have file_column setup as a svn:external, so I’m basically always
running
the latest version. There was a recent update to file_column and after
the
update, my application breaks. here is the error message, any ideas?
Well, I would use that logic, but i have more HTML tags that I don’t
want to show if the image is NIL. I think the logic is pretty much the
same and isn’t the source of the real problem. I looked at the
file_column code and it seems like its trying to “join” some strings
with a nil object (line 144 in file_column.rb - the variable subdir is
defaulted to nil)
When I change the code and set the default value of subdir to an empty
string as opposed to nil, I no longer get that error. However, since
the code was changed to use subdirectories instead of
imagefile_version.ext, my images are not being copied or moved over to
the proper subdirectories (“medium” and “small”, in my case.)
Another weird thing is that subdirectories are actually being created,
but their names are totally random strings and numbers. Its as if the
code was creating the directories not based off of the versions I
specify, but based on the hash value of the object id or something.
Not too familiar with Ruby and object names/ids, but thats just my
guess.