vestal_versions icon indicating copy to clipboard operation
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>

Open angelacode opened this issue 13 years ago • 2 comments

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 avatar Mar 18 '11 22:03 angelacode

@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

carpodaster avatar Apr 12 '11 15:04 carpodaster

This happened to me, and then I restarted rails s, which fixed it.

joelmccracken avatar Jun 14 '11 19:06 joelmccracken