Sailias / bitcoin_payable

A rails bitcoin payment processing gem
MIT License
121 stars 31 forks source link

deprecation warning #12

Closed krtschmr closed 7 years ago

krtschmr commented 7 years ago

DEPRECATION WARNING: Passing a class to the class_name is deprecated and will raise an ArgumentError in Rails 5.2. It eagerloads more classes than necessary and potentially creates circular dependencies. Please pass the class name as a string: has_many :bitcoin_payments, class_name: 'BitcoinPayable::BitcoinPayment' (called from has_bitcoin_payments at /home/tim/.rvm/gems/ruby-2.3.1/bundler/gems/bitcoin_payable-5e9c8f829c12/lib/bitcoin_payable/has_bitcoin_payment.rb:11)

starting 5.2 will raise the error, 5.1 starts the deprecation

Sailias commented 7 years ago

fixed by https://github.com/Sailias/bitcoin_payable/tree/releases/rails-5.1