undefined method `will_paginate', Rails 3.1 / DataMapper

前端 未结 3 688
长情又很酷
长情又很酷 2021-01-22 09:10

Newly installed will_paginate 3.0.0

gem \'will_paginate\', \'~> 3.0.0\', :require=>\'will_paginate/data_mapper\'

Running a controller que

3条回答
  •  执笔经年
    2021-01-22 09:43

    gem 'will_paginate', '~> 3.0.0', require: %w[
      will_paginate
      will_paginate/data_mapper
    ]
    

提交回复
热议问题