Displaying 1 result from an estimated 1 matches for "versioned_table".
2006 Mar 20
3
help: acts_as_versioned setup error "undefined local variable or method ''base_class''"
...ies book. I''ve taken the following steps (nearly
verbatim) as mentioned by the book:
- created the target model "Post"
- added the "acts_as_versioned" label to the model file
- generated a migration file
- added the table creation code and the command "Post.create_versioned_table"
to the migration file
- ran "rake migrate"
What I got is the error "undefined local variable or method ''base_class'' for
Post:Class". I tried with other models and kept getting the same error. It
seems like "rake migrate" is missing the right...