You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.
Followed instructions and got nowhere due to odd issues with the gem picking up will_paginate instead of kaminari, I couldnt use paginate as it clashed with will_paginate.
Then once I had it installed, it didn't work due to this:
undefined method `per' for #Coupons::Models::Coupon::ActiveRecord_Relation:0x007fa26c1611b8
Then I tried running rake coupons:install:migrations and then did rake db:migrate which failed with :Multiple migrations have the name SetupCoupons -- so - uninstalling this. Big disappointment.
The text was updated successfully, but these errors were encountered:
Ok so this undefined method 'per' is because the gem is broken for Kaminari, but with paginate it works, but it does not work in a project where you already have the will_paginate gem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This gem appears to be mostly broken.
I am using rails 4.2.5.1
Hit issues when I already use will_paginate.
Followed instructions and got nowhere due to odd issues with the gem picking up will_paginate instead of kaminari, I couldnt use paginate as it clashed with will_paginate.
Then once I had it installed, it didn't work due to this:
undefined method `per' for #Coupons::Models::Coupon::ActiveRecord_Relation:0x007fa26c1611b8
Then I tried running rake coupons:install:migrations and then did rake db:migrate which failed with :Multiple migrations have the name SetupCoupons -- so - uninstalling this. Big disappointment.
The text was updated successfully, but these errors were encountered: