Plinq / pgcrypto

A transparent ActiveRecord::Base extension pgcrypto encrypted columns
MIT License
40 stars 18 forks source link

Datatypes other than string #6

Open jarblz opened 8 years ago

jarblz commented 8 years ago

This gem is really cool not trying to take anything away from it. However it would be nice if there was support for some sort of software abstraction surrounding the encryption that allowed you to associate a datatype to a particular column so that when it was unencrypted by the gem, it would automatically be in the correct format (e.g. integer, datetime, etc.) as opposed to everything going in and coming out as a string and needing to convert it accordingly.

Cheers, though, this is super awesome!