Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

In v 1.0.1 I add 'versioned' and get back error NameError: undefined local variable or method `versioned' for #<Class:0xb536a2f8> #63

Open
angelacode opened this issue Mar 18, 2011 · 2 comments

Comments

@angelacode
Copy link

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

@carpodaster
Copy link

@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

@joelmccracken
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants