Re: file_column on windows?


I am not able to get this to work on Windows, and the problem has been
documented with a fix here, but I can’t get the fix to work, either.
Ok, I
admit it: I am a newbie with rails!

here is the problem’s fix:

You can fix your file_column for now by replacing the get_content_type
method in lib/file_column.rb with this version:

def get_content_type(fallback=nil)

But when I try this, I get:

undefined local variable or method `content_type’ for

Obviously, I am doing something wrong… any help would be appreciated.