Displaying 3 results from an estimated 3 matches for "page_menu".
Did you mean:
_page_menu
2007 Oct 12
6
locals in partials
hiya, in specing a partial, how can i assign a local var that is
normally passed via :locals ? i tried adding :locals => to the render
call but that doesnt seem to take
linoj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071012/fd0acd92/attachment.html
2006 Jun 26
0
Using a partial multiple times in a view
...$/)
r.close_read
return @result
end
heres the index view
<div class="body_top">
<%= render_partial ''shared/page_header_image'', ''image'' =>
''/images/system.gif'' %>
<%= render_partial ''shared/page_menu'' %>
</div> <!-- body_top -->
<div class="body_content">
<h1>Overview</h1>
<%= render_partial ''shared/grid'', ''title'' => ''Filesystems''
,''cols'' => 6 %>...
2006 May 24
22
Components going out of style?
I see in the new Agile Rails 2nd edition that components are going out
of style?
Is this so? has anybody abandoned the idea of components for helpers?
Specifically I''m considering a menu sytem for a website that depends
heavily on the users permissions to decide which menu options a user
would need to see. I thought that components, since they have the logic
in the controller and