Git Product home page Git Product logo

Comments (5)

DannyBen avatar DannyBen commented on August 18, 2024 2

I am also getting the same error as @suupic
RecordNotFound: Couldn't find Site with an out of range ID

It is not directly related to the original topic - since I only have it in one model, but I figured maybe it is not desired to have more and more issues talking about a similar problem.

I have tried this in two different models in my application, just to be certain.

from obfuscate_id.

olivierbuffon avatar olivierbuffon commented on August 18, 2024

Same issue... Ruby 1.9.3 Rails 3.2.19 :(

from obfuscate_id.

ACPK avatar ACPK commented on August 18, 2024

+1. I'm also getting this issue: Couldn't find Recommendation with an out of range value for 'id'.

I'm trying to use the latest fork: gem "obfuscate_id", github: 'ziyadbasheer/obfuscate_id'

from obfuscate_id.

namick avatar namick commented on August 18, 2024

This is fixed now. I just added tests to show two models (Post and Comment) each using obfuscate_id and having different spins.

https://github.com/namick/obfuscate_id/blob/master/spec/integration/post_with_comment_spec.rb#L47-L83

Please reopen this issue if you are still having problems.

from obfuscate_id.

suupic avatar suupic commented on August 18, 2024

ActiveRecord::RecordNotFound: Couldn't find User with an out of range value for 'id'

in rails 4.2.0

from obfuscate_id.

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.