Or install updated plug from git://github.com/hasham2/classic_pagination.git

or by running

script/plugin install git://github.com/hasham2/classic_pagination.git

On Nov 19, 3:50 pm, Luke Pearce <[EMAIL PROTECTED]>
wrote:
> You need to change two lines in the pagination.rb file.
>
> From this:
>
> options[:singular_name] ||= Inflector.singularize(collection_id.to_s)
> options[:class_name]  ||= Inflector.camelize(options[:singular_name])
>
> To this:
>
> options[:singular_name] ||=
> ActiveSupport::Inflector.singularize(collection_id.to_s)
> options[:class_name]  ||=
> ActiveSupport::Inflector.camelize(options[:singular_name])
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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