refile simple_form undefined method attachment_field
问题 I am trying to hook up refile to my view and I am getting the following error: Here are my models: class Job < ActiveRecord::Base acts_as_paranoid acts_as_taggable acts_as_taggable_on :languages belongs_to :company belongs_to :category validates :title, :location, :category, :language_list, :short_description, :description, :application_process, presence: true end class Company < ActiveRecord::Base acts_as_paranoid has_many :jobs attachment :company_logo, type: :image validates :name, :url,