aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index fccaa2d2bb..737e47041f 100644
--- a/README.md
+++ b/README.md
@@ -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