Open helsayed opened 9 years ago
when running rake translation_center:synch it crash with this exception ActiveRecord::ConnectionNotEstablished /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in retrieve_connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_handling.rb:113:inretrieve_connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_handling.rb:87:in connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/model_schema.rb:214:incolumns' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/model_schema.rb:260:in column_names' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:229:inaggregate_column' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:252:in execute_simple_calculation' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:224:inperform_calculation' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:119:in calculate' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:34:incount' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation.rb:251:in empty?' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation.rb:261:inany?' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/querying.rb:3:in any?' /home/hussein/badrit_projects/translation_center/lib/tasks/translation_center.rake:43:inblock (2 levels) in <top (required)>'
retrieve_connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_handling.rb:113:in
connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/model_schema.rb:214:in
column_names' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:229:in
execute_simple_calculation' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:224:in
calculate' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:34:in
empty?' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation.rb:261:in
any?' /home/hussein/badrit_projects/translation_center/lib/tasks/translation_center.rake:43:in
I'm working with rails 4 and mongo db
when running rake translation_center:synch it crash with this exception ActiveRecord::ConnectionNotEstablished /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in
retrieve_connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_handling.rb:113:in
retrieve_connection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/connection_handling.rb:87:inconnection' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/model_schema.rb:214:in
columns' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/model_schema.rb:260:incolumn_names' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:229:in
aggregate_column' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:252:inexecute_simple_calculation' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:224:in
perform_calculation' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:119:incalculate' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation/calculations.rb:34:in
count' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation.rb:251:inempty?' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/relation.rb:261:in
any?' /home/hussein/.rvm/gems/ruby-2.0.0-p481@scribble_pro/gems/activerecord-4.1.5/lib/active_record/querying.rb:3:inany?' /home/hussein/badrit_projects/translation_center/lib/tasks/translation_center.rake:43:in
block (2 levels) in <top (required)>'I'm working with rails 4 and mongo db