We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56cd70e commit eb89cc8Copy full SHA for eb89cc8
README.md
@@ -83,23 +83,23 @@ class Article < ActiveRecord::Base
83
belongs_to :author
84
85
def author_name
86
- personal_information.name
+ author.name
87
end
88
89
def author_birthdate
90
- personal_information.birthdate
+ author.birthdate
91
92
93
def author_gender
94
- personal_information.gender
+ author.gender
95
96
97
def author_city
98
- personal_information.city
+ author.city
99
100
101
def author_last_name
102
- personal_information.last_name
+ author.last_name
103
104
105
```
0 commit comments