Hi I made a simple example that is not the original but is giving me the
same issue…
I create a method on my controller… and make it so I cant sent him data
to work with and return me the results…
but I keep getting that is an underfined method…! ;-(
error:
ActionView::TemplateError (undefined method `paco’ for
#<#Class:0x2b1dcace86d8:0x2b1dcafabc80>) on line #10 of
app/views/rosteritems/_amigos.rhtml:
7:
8:
9: <% grupo.each do |amigo| %>
10: lolo <%= paco(amigo.jid) %>
11: <%= amigo.jid %>
12: <% end %>
13:
the controller method paco:
def paco(msg)
end
obviosly this is simple as it gets for the example…
I don’t know why is saying that paco is undefined!
thanks.
–
A Spectre is haunting multinational capitalism–the spectre of free
information.
All the powers of ``globalism’’ have entered into an unholy alliance to
exorcize this spectre:
Microsoft and Disney, the World Trade Organization, the United States
Congress and the European Commission.
Eben Moglen from the FSF.
http://emoglen.law.columbia.edu/publications/dcm.html
Solidarity:
http://www.dailyradical.org
http://www.diarioradical.org
http://www.spboston.org