Skip to content

Commit 73b99e1

Browse files
authored
Fixed typo (#45)
1 parent 62ba9a4 commit 73b99e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ end
174174

175175
person = Person.find(5)
176176
person.names.append "David", "Heinemeier", "Hansson" # => RPUSH people:5:names "David" "Heinemeier" "Hansson"
177-
true == person.morning.bright? # => GET people:1:morning
178-
person.morning.value = "blue" # => SET people:1:morning
179-
true == person.morning.blue? # => GET people:1:morning
177+
true == person.morning.bright? # => GET people:5:morning
178+
person.morning.value = "blue" # => SET people:5:morning
179+
true == person.morning.blue? # => GET people:5:morning
180180
```
181181

182182
You can also define `after_change` callbacks that trigger on mutations:

0 commit comments

Comments
 (0)