投稿した記事に不要な表示された場合
app/views/user/show.html.erbを確認します。
不要な表記で<%= %>が使用されているか確認します。
<%= %>は、post.nameなど出力したい処理で使用します。
<% %>は、if文など出力したくない処理で使用します。
Go to list of users who liked
More than 3 years have passed since last update.
投稿した記事に不要な表示された場合
app/views/user/show.html.erbを確認します。
不要な表記で<%= %>が使用されているか確認します。
<%= %>は、post.nameなど出力したい処理で使用します。
<% %>は、if文など出力したくない処理で使用します。
Register as a new user and use Qiita more conveniently
Go to list of users who liked