On Jan 24, 9:16 am, Maurício Linhares <[email protected]>
wrote:
> Go to the acts_as_versioned.rb at line 120 and change the reference to
> "Inflector" for "ActiveSupport::Inflector".

As I understand your direction, you want me to change
"ActiveSupport::Inflector" to "Inflector." However, Inflector was what
was at the line you referenced. (Acts_as_versioned v. 0.2.3)

Perhaps you meant to turn "Inflector" to "ActiveSupport::Inflector"
instead? I assume this is what you meant, as it introduces a change. I
made this change and started up the server. It works. Thanks.

> Maurício Linhareshttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to