We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def create_payment(amount_in_cents) self.coin_payments.create!(reason: 'sale', price: amount_in_cents, coin_type: :btc) end
raises NoMethodError (undefined method `price' for nil:NilClass):
NoMethodError (undefined method `price' for nil:NilClass):
Because we havent imported currency conversions bundle exec rake cryptocoin_payable:process_prices
bundle exec rake cryptocoin_payable:process_prices
In dev env it's fine but not in test where datas are deleted on each run.
rails g cryptocoin_payable:install
The text was updated successfully, but these errors were encountered:
No branches or pull requests
raises
NoMethodError (undefined method `price' for nil:NilClass):
Because we havent imported currency conversions
bundle exec rake cryptocoin_payable:process_prices
In dev env it's fine but not in test where datas are deleted on each run.
rails g cryptocoin_payable:install
should generate test/fixtures/cryptocoin_payable/currency_conversions.ymlbundle exec rake cryptocoin_payable:process_prices
)The text was updated successfully, but these errors were encountered: