search for: execute_read

Displaying 1 result from an estimated 1 matches for "execute_read".

Did you mean: execute_reader
2011 Dec 23
0
Datamapper problem "no such table"
.../home/tigre/cm.sqlite") DataMapper.finalize DataMapper.repository(:lite).auto_migrate! DataMapper.repository(:lite) do w = WorkCenter.new(:name => "Foo") w.save end Now I get this error: /usr/lib/ruby/gems/1.9.1/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:147:in `execute_reader'': no such table: work_centers (DataObjects::SyntaxError) the cm.sqlite file is created but is zero bytes long. What am I doing wrong? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quot...