I am using Rails 2.3.5 with paperclip, mime-types and uploadify. So far
the application is working in development environment. But when I
switched to the production environment, it produced the following error.
NoMethodError (private method
chomp' called for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/mime-types-1.16/lib/mime/types.rb:665:intype_for’
haml (2.2.22) rails/./lib/sass/plugin/rails.rb:20:in
It seems that the error has something to do with Mime-types. But I could
not work it out. Does anyone have the similar issue or possible