DEV Community

Discussion on: Sensitive data encryption in Rails

rbglod profile image
rbglod Author

Without seeing code of your models I can't really help, sorry. Might be everything. Make sure that Client is connected with Address in a correct way, provide 'class_name:' attribute after has_many :addresses. Does seed method/attribute tells you something? Are you using it somewhere?