key_format default #114

Closed
floere opened this Issue Jun 2, 2013 · 1 comment

Projects

None yet

1 participant

@floere
Owner

This:
https://github.com/floere/picky/blob/36acd0c9606c50b9ec228625ba4ff8dc842724d2/server/spec/functional/arrays_as_ids_spec.rb#L11
should not be necessary.

The key_format should be "as is" by default, and only use a conversion if necessary.

@floere
Owner

Rewritten to not use a default, but the id that was passed in as-is (use e.g. key_format :to_i to convert to integers).

@floere floere closed this Jul 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment