Associations I 4.3 Display all tags

I am stuck here. Please help me. It shows error in the browser.

def index
@tags = tag.all
end

it must be @tags = Tag.all

1 Like

Thank you scriptsurfer. It works.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.