Johan Oskarsson
Johan Oskarsson
Looked at the failing test but I'm not sure it's related to this PR?
This should be ready for a re-review now. Thanks!
Here's the stacktrace I get: Couldn't find User with an out of range value for 'id' /usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.2.2/lib/active_record/core.rb:159:in `rescue in find' /usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.2.2/lib/active_record/core.rb:128:in`find' /usr/local/lib/ruby/gems/2.2.0/gems/obfuscate_id-0.2.0/lib/obfuscate_id.rb:31:in `find' By calling User.find(user_id)
I tried out the last fix you mentioned (symbols_to_types..) and that fixed the issue! Thanks for the extremely speedy reply and thanks for the gem, very useful.