Re: [Rails] Re: Problems with Loading Encrypted Data from Fixtures

2011-08-16 Thread Ants Pants
Thanks for your replies. I haven't used ERB for ages and so forgot the syntax. I think I'm going to have to shelve encrypting the email address as it doesn't play with Authlogic and I haven't seen a way of encrypting the email address with Authlogic. I will look into this later, though. Thanks

[Rails] Re: Problems with Loading Encrypted Data from Fixtures

2011-08-13 Thread Frederick Cheung
On Aug 13, 10:50 am, Ants Pants antsmailingl...@gmail.com wrote: Hello everyone, I would like to use attr_encrypted and to do this, I need to get my fixtures singing that song. I have this in my fixtures ... encrypted_email: %= #{Encryptor.encrypt(:value = '...@email.com', :key = 'some