Url_for_file_column undefined method

I am trying to use this helper method in my controller and I am getting
this error. how to fix this?

thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs