Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.

Basically broken #21

Open
renegadeandy opened this issue Aug 15, 2016 · 1 comment
Open

Basically broken #21

renegadeandy opened this issue Aug 15, 2016 · 1 comment

Comments

@renegadeandy
Copy link

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.

@renegadeandy
Copy link
Author

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant