Sometimes you need to expose a helper method that will convert its value before saving it to the database. This gem will add `convert_with` and `convert_from` suffixed methods to the attributes you specify.
What is the fnando/formatted_attributes GitHub project? Description: "Sometimes you need to expose a helper method that will convert its value before saving it to the database. This gem will add `convert_with` and `convert_from` suffixed methods to the attributes you specify.". Written in Ruby. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the formatted_attributes issue tracker:
Open GitHub Issues