Groups
Groups
Sign in
Groups
Groups
attribute_fu
Conversations
About
Send feedback
Help
:locals not working ?
0 views
Skip to first unread message
mixandgo
unread,
Mar 11, 2009, 6:13:13 AM
3/11/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to attribute_fu
Hi,
I am trying to pass a local variable to the partial and it looks
like it's not working. Is this a known bug ?
Here's my call :
<%= f.render_associated_form(@model, :locals => {:first_element =>
true}) %>
Error: undefined local variable or method `first_element' for
#<ActionView::Base:0x34878c8>
Thanks,
Cezar
Reply all
Reply to author
Forward
0 new messages