On 24 August 2010 19:12, Colin Law <clan...@googlemail.com> wrote:

> On 24 August 2010 13:56, pravin mishra <diatm.pravin.it.07...@gmail.com>
> wrote:
> > [...]
> >>> i had added in ENVIRNMENT.RB  file
> >
> > require 'will_paginate'
>
> require is now out of obsolete, Instead use
>
>  config.gem 'will_paginate'
>
> in environment.rb inside the Initializer block.
>
> Colin
>
> >
> > when i am running server then
> >
> >
> > C:\InstantRails-2.0-win_2\rails_apps\pagination>ruby script/server
> > => Booting Mongrel
> > => Rails 2.3.8 application starting on http://0.0.0.0:3000
> > => Call with -d to detach
> > => Ctrl-C to shutdown server
> >
> > finally on browser error is coming this
> >
> > undefined method `paginate' for #<Class:0x471c448>
>
> --
> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
thanks colin   problem is solved

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to