Forum: Radiant CMS how to skip changed_attributes in YAML

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
277b891ccca5ce3aa035131c047c495c?d=identicon&s=25 Vamsi K. (vamsikrishna)
on 2009-10-23 07:49

i'm getting the results like:

and i want to convert the user records to yaml so i used user.to_yaml,

i got the yml file thats nice, but before converting into yaml i need to
change some values of user records

puts user[0].password
it shows "vamsi"
but i want to change the password like(example) "%^@#A]//-0" some thing
like encryption.
for that i cahnged it as

and after that i put user.to_yaml

and in the yml file i saw
                           password: %^@#A]//-0

after that changed_attributes:
              password: vamsi

how could i remove the changed_attributes , as i don't want to show the
password like vamsi.

This topic is locked and can not be replied to.