fafa wrote:> didnt somebody meet problem with wrong number of arguments? I have this
> in articles_helper.rb : def menu_page(id,zanoreni, previous, koren,
> mapa) and this in sitemap.rhtml: <%= menu_page(0,
0,'''', true, true) %>.
> And this is the error message: wrong number of arguments (4 for 5)
>
> I don''t understand it...
sorry, problem solved... menu_page is recursive, and I forgot to add a
new parameter in the recursive call in the body...
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---