Table articles has column: author,body,etc
Table users has column: login_name,email,etc
articles belongs_to user
users has many articles
foreign_key author references users(login_name)
Therefore in Article.rb:
and what’s going on? how the rails find the reference relationship
between articules(author) and users(login_name)?