Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

ActiveModel::RangeError: 19786057634528 is out of range for ActiveModel::Type::Integer with limit 4 bytes #2156

Open
rollbar bot opened this issue Nov 2, 2020 · 0 comments
Labels
bug Bir sorun veya istenmeyen bir davranış (yüksek öncelikli)

Comments

@rollbar
Copy link

rollbar bot commented Nov 2, 2020

View details in Rollbar: https://rollbar.com/omu/nokul/items/340/


ActiveModel::RangeError: 19786057634528 is out of range for ActiveModel::Type::Integer with limit 4 bytes
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activemodel/lib/active_model/type/integer.rb", line 49, in ensure_in_range
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activemodel/lib/active_model/type/integer.rb", line 28, in serialize
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activemodel/lib/active_model/attribute.rb", line 56, in value_for_database
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/relation/query_attribute.rb", line 13, in value_for_database
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb", line 205, in block in type_casted_binds
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb", line 203, in map
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb", line 203, in type_casted_binds
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb", line 674, in exec_no_cache
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb", line 654, in execute_and_clear
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 53, in exec_query
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb", line 136, in exec_insert
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 91, in exec_insert
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb", line 167, in insert
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb", line 22, in insert
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/persistence.rb", line 375, in _insert_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/persistence.rb", line 932, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/counter_cache.rb", line 166, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/locking/optimistic.rb", line 79, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/attribute_methods/dirty.rb", line 201, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/callbacks.rb", line 341, in block in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/callbacks.rb", line 98, in run_callbacks
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/callbacks.rb", line 824, in _run_create_callbacks
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/callbacks.rb", line 341, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/timestamp.rb", line 108, in _create_record
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/persistence.rb", line 903, in create_or_update
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/callbacks.rb", line 337, in block in create_or_update
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/callbacks.rb", line 106, in run_callbacks
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/callbacks.rb", line 824, in _run_save_callbacks
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/callbacks.rb", line 337, in create_or_update
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/timestamp.rb", line 126, in create_or_update
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/persistence.rb", line 474, in save
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/validations.rb", line 47, in save
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/transactions.rb", line 296, in block in save
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/transactions.rb", line 352, in block in with_transaction_returning_status
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb", line 316, in block in transaction
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb", line 310, in block in within_new_transaction
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 26, in block (2 levels) in synchronize
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in handle_interrupt
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 25, in block in synchronize
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in handle_interrupt
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb", line 21, in synchronize
  File "/app/vendor/bundle/ruby/2.7.0/bundler/gems/rails-57da1d0188f4/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb", line 308, in within_new_transaction
 
@rollbar rollbar bot added the bug Bir sorun veya istenmeyen bir davranış (yüksek öncelikli) label Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bir sorun veya istenmeyen bir davranış (yüksek öncelikli)
Projects
None yet
Development

No branches or pull requests

0 participants