Query Db?
chabgood opened this issue · 1 comments
chabgood commented
Is there a way to querry the db for a particular record?
ex. DisclosureForm.find_by(encrypted_name: params[:name])
reidmorrison commented
DisclosureForm.find_by(encrypted_name: SymmetricEncryption.encrypt(params[:name]))