Git Product home page Git Product logo

Comments (7)

echon avatar echon commented on May 15, 2024

I get the same thing, Rails 3.0.5 and Ruby 1.8.7

Creating scope :page. Overwriting existing method Brush.page.
Creating scope :page. Overwriting existing method Pattern.page.
Creating scope :page. Overwriting existing method Photo.page.
Creating scope :page. Overwriting existing method Texture.page.

All of those are sub-classes to Asset. None of which define paginates_per in their models (actually none of my models do).

from kaminari.

amatsuda avatar amatsuda commented on May 15, 2024

Thanks for reporting! (and sorry for not responding this long).
Confirmed this issue, but I still wonder whether Kaminari should just check the existing scopes and skip overwriting, or should do overwrite.
Let me think a little bit more...

from kaminari.

thegorgon avatar thegorgon commented on May 15, 2024

Any update on this? It's still an issue. Seems it should realize if it's a subclass...

from kaminari.

diddeb avatar diddeb commented on May 15, 2024

Any planned progress on this? Still seeing the exact same problem as pdobb initially described. I am on Rails 3.1.1.

from kaminari.

dsgh avatar dsgh commented on May 15, 2024

I had the same problem, but it seems to be fixed as of 0.13.0.

from kaminari.

lucapette avatar lucapette commented on May 15, 2024

Yes the 0.13 solved this. This one should be definitely closed.

from kaminari.

yuki24 avatar yuki24 commented on May 15, 2024

I'm closing this issue since this is a duplicate of #57.

from kaminari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.