rich
rich copied to clipboard
Fixed undefined method 'rich_file='
With new commits
Is it working on both, Paperclip and Carrierwave?
Not tested for Carrierwave.
Is it possible that you test this with Carrierwave? Because I think the
include Backends::PaperClip
will bomb CarrierWave support.
FYI if you want to fix this in an existing code base you can use the following code in an initializer
module Rich
class RichFile < ActiveRecord::Base
include Backends::Paperclip
end
module Backends
module Paperclip
Rich::RichFile.send(:include, Backends::Paperclip)
end
end
end