search for: residential_listing

Displaying 1 result from an estimated 1 matches for "residential_listing".

Did you mean: residential_listings
2009 Feb 25
9
local variables in partials lead to NameError
I know I must be doing something dumb, but I can''t seem to send a local variable to my partial. The below code leads to the following error: NameError in Residential_listings#new undefined local variable or method `foo'' for #<ActionView::Base: 0x3fb53f8> I am trying to call the variable ''foo'' in a partial called _attachment.html.erb, which is nested in another partial called _form.html.erb. In _form.html.erb, I have: <%= render( :pa...