undefined method GenerateAllSlotsView

0 views
Skip to first unread message

François Beausoleil

unread,
Nov 10, 2008, 7:29:48 PM11/10/08
to StrokeDB
Hi all!

Using commit d22a9956c795048ce901791813e35c92c5f866ac I can't get any
of the examples working, or my own code for the matter:

>> Erp.connect
NoMethodError: undefined method `GenerateAllSlotsView' for #<Store
cd7e716d-da9d-4431-b197-50ea4230a153>
from /Users/francois/Documents/work/erp/vendor/gems/strokedb/lib/
strokedb/store.rb:16:in `initialize'
from /Users/francois/Documents/work/erp/vendor/gems/strokedb/lib/
strokedb/config.rb:101:in `new'
from /Users/francois/Documents/work/erp/vendor/gems/strokedb/lib/
strokedb/config.rb:101:in `add_store'
from /Users/francois/Documents/work/erp/vendor/gems/strokedb/lib/
strokedb/config.rb:54:in `build'
from ./script/../lib/erp.rb:11:in `connect'
from (irb):1

Erp.connect is defined such:

module Erp
class << self
def connect
StrokeDB::Config.build :default => true, :base_path =>
File.dirname(__FILE__) + "/../db/erp-#{Erp.env}.strokedb"
end

def env
"development"
end
end
end

Any ideas?

Thanks!
François
Reply all
Reply to author
Forward
0 new messages