diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,7 @@ ## Example +```ruby class Person < ApplicationRecord has_one :avatar end @@ -39,6 +40,7 @@ class ProfilesController < ApplicationController @person.update! avatar: @person.avatar.update!(image: ) end end +``` ## License |