BadrIT / translation_center

Translation Center is a multi-lingual, GUI rich, community based, translation center for Rails apps
http://www.badrit.com/gems/translation_center/
MIT License
152 stars 71 forks source link

translation center compatiblity with no sql application #64

Open helsayed opened 9 years ago

helsayed commented 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)>'

I'm working with rails 4 and mongo db