Associations I 4.3 Display all tags


#1

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

def index
@tags = tag.all
end


#2

it must be @tags = Tag.all


#3

Thank you scriptsurfer. It works.


#4

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