Not sure exactly if this is machinist's fault, but thought I'd report it.
Via console:
ree-1.8.7-2010.02 > Topic.make!
NameError: uninitialized constant User::Cache
from /Users/inspire/Dropbox/newap/app/models/user.rb:129:in _callback_after_133' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/active_record/blueprint.rb:33:invalue'
from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/active_record/blueprint.rb:33:in outside_transaction' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/shop.rb:43:inbuy'
from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:55:in make!' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:94:indecode_args_to_make'
from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:53:in `make!'
from (irb):21
Via Rspec:
1) Model tests requires new topics to have a board
Failure/Error: t = Topic.new :user => User.make!, :title => "hello world"
uninitialized constant User::Cache
If it seems like its prob not machinist's fault, let me know.
BTW - you're aware of dm-sweatshop, right? They were inspired by you but added Model.pick, which picked from the currently generated models of that type. Sounds like your caching system acts similar now, but that format made a bit more sense to me.
Not sure exactly if this is machinist's fault, but thought I'd report it.
Via console: ree-1.8.7-2010.02 > Topic.make! NameError: uninitialized constant User::Cache from /Users/inspire/Dropbox/newap/app/models/user.rb:129:in
_callback_after_133' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/active_record/blueprint.rb:33:in
value' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/active_record/blueprint.rb:33:inoutside_transaction' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/shop.rb:43:in
buy' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:55:inmake!' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:94:in
decode_args_to_make' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/machinable.rb:53:in `make!' from (irb):21Via Rspec:
1) Model tests requires new topics to have a board Failure/Error: t = Topic.new :user => User.make!, :title => "hello world" uninitialized constant User::Cache
/Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/machinist-2.0.0.beta2/lib/machinist/active_record/blueprint.rb:33:in `value'
If it seems like its prob not machinist's fault, let me know.
BTW - you're aware of dm-sweatshop, right? They were inspired by you but added Model.pick, which picked from the currently generated models of that type. Sounds like your caching system acts similar now, but that format made a bit more sense to me.