このindexアクションの後は、何か実行されるか?
def index
@users = User.all
end
Railsでは、デフォルト値として、
app/views/users/index.html.erb
が実行されるようになっている。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
このindexアクションの後は、何か実行されるか?
def index
@users = User.all
end
Railsでは、デフォルト値として、
app/views/users/index.html.erb
が実行されるようになっている。
Register as a new user and use Qiita more conveniently
Go to list of users who liked