-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7 Jul 2008, at 19:54, Harish wrote:

> I am trying to use elixir.ext.encrypted facility to encrypt some
> columns.


>    acts_as_encrypted(for_columns=['password', 'ssn'],
>                      with_secret='secret')
> [ ... ]
>    __init__() got an unexpected keyword argument 'for_columns'


Looks like you may need to use "for_fields" instead of "for_columns".

elixir source shows:

> class ActsAsEncrypted(object):
>
>     def __init__(self, entity, for_fields=[], with_secret='abcdef'):
>



Cheers,

Graham



-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkhycNsACgkQOsmLt1NhivwXkACg4CBnyja9AZlEAag+mMV8P0Ap
F1kAn2TsKKic/baKw+CJM7+ejSrtfhdriQCVAgUBSHJw21nrWVZ7aXD1AQIWbAQA
svQMWIqlHR5UeUYezF/ePcazr5Ucp0G3UsuT2Y58GwMEo+3I2/Wun1tvOcr/4lNf
RsB/4RjqRUdwLVr01uOdhJRit+UWG9/swtAQd3OQJ9xUujsRORSifGwt1e5+JeW+
6SkyrEkcU2D6OttppOZObBQkNDrVAIZ/OTAKWWv8BNE=
=qfXX
-----END PGP SIGNATURE-----


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to