Work Datarockets upnetwork master rake install data rake aborted Activ

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Work/Datarockets/upnetwork (master) $ rake install:data
rake aborted!
ActiveRecord::RecordInvalid: Возникли ошибки: External translation missing: ru.errors.id_is_not_uniqueness
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/validations.rb:78:in `raise_record_invalid'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/validations.rb:42:in `save!'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/transactions.rb:289:in `block in save!'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/transactions.rb:345:in `block in with_transaction_returning_status'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/transactions.rb:218:in `transaction'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/transactions.rb:342:in `with_transaction_returning_status'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/transactions.rb:289:in `save!'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:61:in `create_order'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:52:in `block in create_shop'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:51:in `each'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:51:in `create_shop'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:33:in `block (3 levels) in create_orders_data'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:32:in `times'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:32:in `block (2 levels) in create_orders_data'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:28:in `each'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:28:in `block in create_orders_data'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/relation/delegation.rb:46:in `each'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0.beta4/lib/active_record/relation/delegation.rb:46:in `each'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:27:in `create_orders_data'
/Users/ezhlobo/Work/Datarockets/upnetwork/app/services/create_fakes_data_service.rb:4:in `call'
/Users/ezhlobo/Work/Datarockets/upnetwork/lib/tasks/install.rake:4:in `block (2 levels) in <top (required)>'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `block in load'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in `load_dependency'
/Users/ezhlobo/Work/Datarockets/upnetwork/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
-e:1:in `<main>'
Tasks: TOP => install:data
(See full trace by running task with --trace)