Hey there,
so I keep getting
undefined method `blueprint' for Project:Class (NoMethodError)
Should I manually extend my class with this Machinable thing? I
thought this was happening automatically.
--
My blueprints.rb:
require 'machinist/mongoid'
Project.blueprint do
name
end
--
My Gemfile:
group :test do
gem "rspec-core", ">= 2.0.0.beta.12"
gem "rspec-rails", ">= 2.0.0.beta.12"
gem "rack"
gem "rack-test"
gem "capybara"
gem 'database_cleaner'
gem 'machinist', '>= 2.0.0.beta1'
gem 'machinist_mongo', :git => 'git://
github.com/nmerouze/
machinist_mongo.git', :branch => 'machinist2'
gem 'webmock'
gem 'mocha'
gem 'autotest'
gem 'autotest-rails'
gem 'spork'
end