Get the following error when trying to run rails server
Just shifted from rails 3.0.0 to 3.1.0
When I try to run rails s
, I get the following error:
`alias_method': und开发者_StackOverflowefined method `method_missing_with_paginate' for class `ActiveSupport::Deprecation::DeprecatedConstantProxy' (NameError)
Probably a problem with your pagination gem or plugin. Do you use will_paginate
or Kaminari
? Try to update your pagination gem to the latest version. A few weeks ago Mislav has published the new version 3.0 of will_paginate, which works with Rails 3. Kaminari also works with Rails 3.
The error concerns with_paginate. Are you sure you didn't simply misspell will_paginate
somewhere?
精彩评论