rails locals var not being recognized

Unusual, I have a render partial with :locals set up but the partial
is not recognizing the var being set.

<%= render '/shared/dynamic_attributes', :locals => {:obj =>
@equipment } %>


undefined local variable or method `obj' for #<ActionView::Base:

Either do

<%= render :partial => '/shared/dynamic_attributes', :locals => {:obj =>
@equipment } %>


<%= render '/shared/dynamic_attributes', :obj => @equipment %>

Thanks. I am not sure why but when I was doing CTRL+R to reload it
was having issues. When I went back to the index and went to my edit
page it works just fine. doh...