when i use a partial render with a collection and a hash of locals, i don't get the locals. <%= render :partial => '/users/user', :collection => @users, :locals => {:test_value => true} %> isn't it possible to use both collection and locals with a render?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Locals do not appear in partial unless collection is explici | 6 | 237 | March 23, 2008 | |
can partial_2 called by partail_1 access partial_1's locals? | 0 | 102 | May 17, 2007 | |
partials and locals | 0 | 79 | May 19, 2010 | |
Cannot call render :partial :collection with an Array of Hash? | 2 | 289 | March 20, 2008 | |
render mutates locals hash? | 0 | 79 | June 10, 2009 |