You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just followed the installation instructions, when I try to add this line to my uploader include CarrierWaveDirect::Uploader
I got this error undefined method 'attr_accessible' for #<Class:0x00007fa50823fc80> (NoMethodError) Did you mean? attr_accessor
We are using attr_accessible :#{column}_key, :remote_#{column}_net_url
The text was updated successfully, but these errors were encountered:
ahmdelemam
changed the title
carrierwave_direct not working with rails 6
carrierwave_direct not working with rails 6 undefined method 'attr_accessible'
May 15, 2020
Ruby Version:- 2.6.3
Rails Version:- 6.0.0.rc1
Carrierwave Version:- 2.0.0.rc
Carrierwave_direct Version:- 2.1.0
I just followed the installation instructions, when I try to add this line to my uploader
include CarrierWaveDirect::Uploader
I got this error
undefined method 'attr_accessible' for #<Class:0x00007fa50823fc80> (NoMethodError) Did you mean? attr_accessor
inline /Users/ahmedelemam/.rvm/gems/ruby-2.6.3/gems/carrierwave_direct-2.1.0/lib/carrierwave_direct/orm/activerecord.rb:35:in `mount_uploader'
We are using
attr_accessible :#{column}_key, :remote_#{column}_net_url
The text was updated successfully, but these errors were encountered: