My erb template looks like this:

<% for f in @finders do %>
  ...
  <tr>
  <%debugger%>
  <%= emitActionLinks(f, edit_finder_path(f), f.owner != 0) %>
  </tr>
<% end %>

emitActionLinks is defined in application_helper.rb and returns a string
of HTML.

At the debugger loction, I can inspect the parameters of
emitActionLinks, but if it gets executed, this error message pops up:

undefined local variable or method `f' for
#<ActionView::Base:0x7f6d514eca80>

Why?
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to