data = user.select (decrypt(:email) ,:id ) etc ,it is showing me error .how can i user ecryption or decryption in select query in api controllers.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Search encrypted data | 0 | 102 | December 20, 2009 | |
Problems using find_by_sql() | 2 | 133 | September 25, 2006 | |
Fixing column value in the model | 3 | 171 | May 3, 2009 | |
How do I automatically modify a method when accessing it? | 1 | 136 | April 11, 2009 | |
how to encryption and decryption a string or integer in ruby | 2 | 174 | May 10, 2012 |