Git Product home page Git Product logo

Comments (18)

antoinefink avatar antoinefink commented on July 19, 2024

Hi ! It will be solved by using :

gem "obfuscate_id", git: "https://github.com/namick/obfuscate_id"

from obfuscate_id.

bastengao avatar bastengao commented on July 19, 2024

👍

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

gem "obfuscate_id", github: 'ziyadbasheer/obfuscate_id' gives me out of range ID

from obfuscate_id.

namick avatar namick commented on July 19, 2024

This is fixed in the new releases.

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

@namick Still getting the error below even though I'm using v0.2.0.

Couldn't find Device with an out of range value for 'id'

from obfuscate_id.

superacidjax avatar superacidjax commented on July 19, 2024

@namick @ACPK me as well, the out of range error. Is there a way to shorten the generated id?

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

@namick @superacidjax I reopened this #28

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

@namick Did you get it working yet?

from obfuscate_id.

richardvenneman avatar richardvenneman commented on July 19, 2024

I can confirm master doesn't work with Rails 4.2.

@superacidjax @ACPK What I see from a quick glance is that obfuscate_id relies on https://github.com/namick/ScatterSwap, which doesn't allow configuring the length or range: https://github.com/namick/scatter_swap/blob/master/lib/scatter_swap/hasher.rb.

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

@richardvenneman @superacidjax Any progress on getting it to work with a Rails 4.2 application?

from obfuscate_id.

richardvenneman avatar richardvenneman commented on July 19, 2024

Did not get it to work, unfortunately.

Sent from my iPhone

On 18 mrt. 2015, at 21:19, Andrew Charles Potter Kelley [email protected] wrote:

@richardvenneman @superacidjax Any progress on getting it to work with a Rails 4.2 application?


Reply to this email directly or view it on GitHub.

from obfuscate_id.

ACPK avatar ACPK commented on July 19, 2024

@richardvenneman Any alternatives to this gem for Rails 4.2 and why is this issue closed?

from obfuscate_id.

richardvenneman avatar richardvenneman commented on July 19, 2024

@ACPK I wouldn't know, will look for alternatives soon. This issue #36 also keeps me from trying to run this in production.

from obfuscate_id.

deneuxa avatar deneuxa commented on July 19, 2024

Same problem here => rails 4.2

"Couldn't find X with an out of range value for 'id'"

from obfuscate_id.

deneuxa avatar deneuxa commented on July 19, 2024

any news @bastengao

from obfuscate_id.

karuppasamy avatar karuppasamy commented on July 19, 2024

+1 same problem. any updates?

from obfuscate_id.

elsurudo avatar elsurudo commented on July 19, 2024

+1, having the same issue

from obfuscate_id.

Ericzhiluo avatar Ericzhiluo commented on July 19, 2024

+1 same issue with PG

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.