Go to the acts_as_versioned.rb at line 120 and change the reference to "Inflector" for "ActiveSupport::Inflector".
- Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Sat, Jan 24, 2009 at 2:21 AM, Ben Wilson <[email protected]> wrote: > > I created a "Page" class and rolled in Acts as Versioned. I received > the following error: > > uninitialized constant > ActiveRecord::Acts::Versioned::ClassMethods::Inflector > > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > dependencies.rb:442:in `load_missing_constant' > /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > dependencies.rb:77:in `const_missing' > /usr/lib/ruby/gems/1.8/gems/acts_as_versioned-0.2.3/lib/ > acts_as_versioned.rb:120:in `acts_as_versioned' > app/models/page.rb:2 > app/controllers/pages_controller.rb:5:in `index' > script//server:3 > > Anybody have a suggestion as to how to fix? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

