{"version":"1.0","type":"rich","title":"Gist 1123514","description":"This visualization shows a minimal Ruby on Rails model called `Person` that manages a person’s first and last name. It demonstrates a `before_save` callback that automatically capitalizes the first name before the record is persisted, and a `name` method that concatenates the two name fields. The code uses ActiveRecord’s `before_save` hook and the `self[:first_name]` attribute accessor to modify the stored value. No rendering or charting library is present; the example is purely a code snippet illustrating database-layer cleanup logic.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1123514?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}