Hi all,
I just can’t figure why the view cannot find a method that I defined in
another class. I do this in the view:
<%= check_box(“item_search_page”, “method_name”)
Here, item_search_page is a variable in the controller, which creates a
new
ItemSearchPage object.
class ItemSearchPage
def method_name
end
end
So, although I defined it and it’s public, the view says "undefined
method
‘method_name’. Thanks for your help!
Victor