Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't compatible with Rails 4 #28

Closed
bastengao opened this issue Nov 9, 2014 · 18 comments
Closed

Don't compatible with Rails 4 #28

bastengao opened this issue Nov 9, 2014 · 18 comments

Comments

@bastengao
Copy link

when bundle log this

Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    obfuscate_id (>= 0) ruby depends on
      rails (~> 3.2.1) ruby

    rails (4.1.7)
@antoinefink
Copy link

Hi ! It will be solved by using :

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

@bastengao
Copy link
Author

👍

@ACPK
Copy link

ACPK commented Feb 4, 2015

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

@namick
Copy link
Owner

namick commented Feb 8, 2015

This is fixed in the new releases.

@namick namick closed this as completed Feb 8, 2015
@ACPK
Copy link

ACPK commented Feb 9, 2015

@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'

@superacidjax
Copy link

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

@ACPK
Copy link

ACPK commented Feb 13, 2015

@namick @superacidjax I reopened this #28

@ACPK
Copy link

ACPK commented Feb 24, 2015

@namick Did you get it working yet?

@richardvenneman
Copy link

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.

@ACPK
Copy link

ACPK commented Mar 18, 2015

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

@richardvenneman
Copy link

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.

@ACPK
Copy link

ACPK commented Apr 30, 2015

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

@richardvenneman
Copy link

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

@deneuxa
Copy link

deneuxa commented Aug 18, 2015

Same problem here => rails 4.2

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

@deneuxa
Copy link

deneuxa commented Aug 18, 2015

any news @bastengao

@karuppasamy
Copy link

+1 same problem. any updates?

@elsurudo
Copy link

elsurudo commented Jan 5, 2016

+1, having the same issue

@Ericzhiluo
Copy link

+1 same issue with PG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants