Thanks everyone for the help.  I got classic pagination installed, as
well as scaffolding.  Still getting errors.
 NameError in EventsController#index

undefined local variable or method `add_instance_variables_to_assigns'
for #<EventsController:0xb777ef2c>

Any ideas?  Should I just throw away (or burn) this book and buy
something newer?  Thanks

On Nov 24, 5:42 am, Hasham <[EMAIL PROTECTED]> wrote:
> 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