yamldb/yaml_db

add_limit_offset! error in SQLite3

Closed this issue · 1 comments

I run:

rake db:data:dump with:
ruby 1.9.3
rails ('3.2.3)
yaml_db (0.2.2)
sqlite3 (1.3.6) .

I get:

undefined method `add_limit_offset!' for #ActiveRecord::ConnectionAdapters::SQLite3Adapter:0xb5b4a40

home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:184:in block in each_table_page' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:183:ineach'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:183:in each_table_page' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/yaml_db.rb:46:indump_table_records'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:168:in dump_table' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:151:inblock in dump'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:149:in each' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:149:indump'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/serialization_helper.rb:14:in dump' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/yaml_db-0.2.2/lib/tasks/yaml_db_tasks.rake:21:inblock (3 levels) in <top (required)>'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:205:in call' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:205:inblock in execute'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:200:in each' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:200:inexecute'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:158:in block in invoke_with_call_chain' /home/matias/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:151:in invoke_with_call_chain' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/task.rb:144:ininvoke'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:116:in invoke_task' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock (2 levels) in top_level'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:94:in each' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:94:inblock in top_level'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:88:intop_level'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:66:in block in run' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/lib/rake/application.rb:63:in run' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/gems/rake-0.9.2.2/bin/rake:33:in<top (required)>'
/home/matias/.rvm/gems/ruby-1.9.3-p0@wow/bin/rake:19:in load' /home/matias/.rvm/gems/ruby-1.9.3-p0@wow/bin/rake:19:in

'

This was addressed in #29.