Displaying 8 results from an estimated 8 matches similar to: "How to change the menu depending on the controller/method?"
2006 Mar 31
3
Layout Question .. (Sitemesh related)
Hi,
I understand that the layout concept is very similar to OpenSymphony''s
Sitemesh project. I have done a lot of development with Sitemesh, but am
fairly new to Rails. I am wondering if there is a way for a layout in
rails to find out value of a variable from a page it is decorating?
In sitemesh you would be able to do <meta name="show_menu"
content="true"> on
2006 Jan 17
9
Setting layout template in .rhtml
I''ve a single controller -
class ContentController < ApplicationController end
in the app/views/content folder I have quite a few .rhtml files
I need to be able to choose a different layout template to
use in each of these .rhtml files.
i''d like to be able to do something like (which doesn''t work..)
<% layout ''layout1'' %>
Any
2005 Aug 24
0
rsync via tunnel - 3 boxes separated by internet [solved]
Hi Wayne, I'm not subscribed anymore, but I once sent you this
example/FAQ. I searched the archives (because I needed to implement
this) and noticed I never posted the solution (like a dummy). Would you
post it for me?
Thanks
Jay
Backing up through a firewall
Its very common to have a setup where you can not reach the machine you
want to backup directly, because it is behind a
2011 Dec 04
1
Polishing my geom_bar for publication
Dear list,
I am new with ggplot2 and I have spend quiet some time putting together the following code to create the attached plot. However there's still a few things that I'm having trouble with!
I would be grateful if someone can tell me how to fix (1) the colour of my bars into grey scales (2) removing the y-axis (species name) on the right figure to avoid duplication, and (3) fix the
2005 Jan 28
16
primary_key_prefix_type, support for non-integer primary keys
Hello!
I''m just starting out with Rails--and Ruby itself for that matter--and
have a couple of questions regarding primary_key_prefix_type and
non-integer primary keys.
I see in the ActiveRecord documentation [1] that by default the primary
key of a table "foo" is expected to be "id", though
primary_key_prefix_type this can be changed to :table_name or
2010 Feb 16
0
replicating aov results with lmer
I am trying to replicate the results of an aov command with lmer, to understand the syntax, but I can't quite figure it out. I have a dataset from Montgomery p. 520 with a nested and factorial layout. There are 3 fixtures, 2 layouts (the treatments) in a factorial design, but the operators who perform the runs are nest in layouts (4 operators per layout=8 different operators). Thus, each
1999 May 22
0
Samba 2.0.4b Error reading file on 100bt only it seems...
Having a strange problem.
Running smbclient to an NT4 Sp4 workstation for testing.
using tar c /some/local/dir
using the default config except for machine name and workgroup in
smb.conf
I've tried tweaking the smb.conf to no avail.
running on Redhat 6.0, but using samba 2.0.4b for the large filesystem
patch...
running on 100bt switched with 3c905B 100bt cards on both ends, but
problem occurs
2019 Jul 10
1
[Bug 111098] New: xf16-video-nouveau 1.0.16-1 arch fails to resume from blank
https://bugs.freedesktop.org/show_bug.cgi?id=111098
Bug ID: 111098
Summary: xf16-video-nouveau 1.0.16-1 arch fails to resume from
blank
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: