I just upgraded a Rails 2.0.2 project to Rails 2.3.18 and had this same 
problem. Adding ActiveSupport:: in front of Inflector seems to have solved 
the problem.

So, in lib/ajax_scaffold.rb

@eval = options[:eval].nil? ? 
“#{ActiveSupport::Inflector.underscore(klass.to_s)}.#{@name}” : 
options[:eval]

HTH


On Thursday, February 19, 2009 6:31:38 PM UTC-5, marco wrote:
>
> HI at all, 
> I start to develop, years ago, an application with rails 1.1.6  with 
> ajax_scaffold lib. 
> Now I need to migrate to rails 2.2, I try to use anyway the lib 
> ajax_scaffod.rb. 
> I've this error: "uninitialized constant 
> AjaxScaffold::ScaffoldColumn::Inflector" 
> I don't found any solution about this problem. 
> I'd prefer not to migrate to activescaffold. 
> Some one have a solution? 
>
> Thank 
> Marco 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to