I’m not sure what happened, or what change has caused this to happen,
render :partial (or any render for that matter, doesn’t seem to let me
local variables via the local_assigns argument hash.
<%= render :partial ‘edit’, :username => @user.username %>
used to allow that username was a local variable in my _edit.rhtml
Username: <%= username %>
Could this be a problem with Ruby 1.8.4?
master nerd of
i heart squares, Co.
3711 N. Ravenswood Ave. #147 Chicago, IL 60613
Ph. (773) 531-6301 Fx. (773) 529-7041