# Problem with file\_column plugin path and application\_helper

**URL:** <https://www.ruby-forum.com/t/problem-with-file-column-plugin-path-and-application-helper/62746>\
**Category:** Rails\
**Created:** [June 7, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/problem-with-file-column-plugin-path-and-application-helper/62746 "2006-06-07T20:17:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jashugan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@jashugan](https://www.ruby-forum.com/u/jashugan)\
**Post date:** [June 7, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/problem-with-file-column-plugin-path-and-application-helper/62746/1 "2006-06-07T20:17:03Z")

</div>

Hello,

I upgraded my Rails app from 1.0 to 1.1.2. Basically everything worked  
on my development box. When I uploaded the changes (including the  
frozen 1.1.2 gems) to my webhost most things worked. However I had a  
problem with my application\_helper.rb file. It wasn’t able to find the  
url\_for\_image\_column method from the file\_column plugin. Here’s the  
relevant code in applicaiton\_helper.rb:

# this tag helper creates a image tag for file\_column fields that

contain images  
def image\_tag\_for\_image\_column(object, method, version, options = {})  
options = Hash.new if options.nil?  
options[:size] = object.dimensions\_for(version)  
image\_tag(url\_for\_image\_column(object, method, version), options)  
end

I added the following line to the top of application.rb:  
require  
“#{RAILS\_ROOT}/vendor/plugins/file\_column/lib/file\_column\_helper.rb”

and now my application works.

Anyone have any ideas why I had to do this on my production  
installation and not on the development installation?
