vestal_versions
vestal_versions copied to clipboard
In v 1.0.1 I add 'versioned' and get back error NameError: undefined local variable or method `versioned' for #<Class:0xb536a2f8>
I installed the gem using bundler, did a script/generate, and then rake db:migrate. But when I add 'versioned' I get an error on that model:
NameError: undefined local variable or method `versioned' for #Class:0xb536a2f8
@angelacode: are you perfectly sure that you've followed all the Bundler for Rails 2.3 instructions? I stumbled upon the same error when converting a 2.3.10 app to bundler. It cost me a good two hours until I finally realized I forgot to add the bundler bit to config/boot.rb
. And there was me scratching my head why on earth VestalVersions
was an unknown constant… d'oh. o_0
This happened to me, and then I restarted rails s, which fixed it.