开发者

Get the following error when trying to run rails server

开发者 https://www.devze.com 2023-04-07 10:22 出处:网络
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 `ActiveS

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消