tashfeen.ekram wrote: > hmmm.... ok. i was using strongbox gem. what you recommends seems like > it would work if i wrote my own encryption. i think the encryption in > the gem is carried out prior to validation. is there another way in > which i can still use strongbox?
I've not looked at the strongbox gem, but if that's the case I would avoid using that gem. If you're going to have a gem do your encrypting/decrypting it should be transparent to the application layer IMHO. This would mean hooking itself in right above the database adaptor layer so that all the higher level ActiveRecord/ActiveModel stuff just works as normal. Maybe you should find a better gem, or roll your own. Encryption isn't exactly rocket science to implement these days (maybe their implementations are akin to rocket science, but modern abstractions aren't). -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.