Skip to content
New issue

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

UnknownAttributeError: unknown attribute 'base_factor' for Currency #3033

Open
rad1k4l opened this issue Jan 29, 2022 · 0 comments
Open

UnknownAttributeError: unknown attribute 'base_factor' for Currency #3033

rad1k4l opened this issue Jan 29, 2022 · 0 comments

Comments

@rad1k4l
Copy link

rad1k4l commented Jan 29, 2022

version 3.0.stable
After install all services for peatio i started peatio with docker . But get error :
rake aborted! ActiveModel::UnknownAttributeError: unknown attribute 'base_factor' for Currency. /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:53:in_assign_attribute'
/opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:44:in block in _assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:43:in each'
/opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:43:in _assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/attribute_assignment.rb:23:in _assign_attributes'
/opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:35:in assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/core.rb:315:in initialize'
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/inheritance.rb:66:in new' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/inheritance.rb:66:in new'
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/persistence.rb:52:in create!' /home/app/lib/tasks/seed.rake:22:in block (4 levels) in

'
/home/app/lib/tasks/seed.rake:20:in each' /home/app/lib/tasks/seed.rake:20:in block (3 levels) in '
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in block in transaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in block in within_new_transaction'
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in within_new_transaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in transaction'
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in transaction' /home/app/lib/tasks/seed.rake:19:in block (2 levels) in '
/home/app/db/seeds.rb:7:in <main>' /opt/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in load'
/opt/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in load' /opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:in block in load'
/opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:257:in load_dependency' /opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:in load'
/opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:554:in block in load_seed' /opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:672:in with_inline_jobs'
/opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:554:in load_seed' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:281:in load_seed'
/opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:194:in block (2 levels) in <main>' /opt/vendor/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>'
/usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in load' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in kernel_load'
/usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in run' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in exec'
/usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
/usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in dispatch' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in dispatch'
/usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in start' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in start'
/usr/local/bundle/gems/bundler-2.1.4/exe/bundle:46:in block in <top (required)>' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in with_friendly_errors'
/usr/local/bundle/gems/bundler-2.1.4/exe/bundle:34:in <top (required)>' /usr/local/bundle/bin/bundle:23:in load'
/usr/local/bundle/bin/bundle:23:in <main>' Tasks: TOP => seed:currencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant