encryption - Using SymmetricEncryption with Rails 4 -
i using symmetricencryption rails 4 encrypt attributes of model. worked in development environment not work in production. error openssl::cipher bad decrypt when dercypting value in database. different thing in production, have unicorn server running 8 slaves. want understand how openssl cipher works. found out 1 gets error when used different key , iv. have 1 set same. other situations can cause such error?