Displaying 2 results from an estimated 2 matches for "nested_layout".
2006 Oct 09
1
error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??
.../ruby/lib/ruby/1.8/irb/init.rb:21:in `setup''
from C:/InstantRails/ruby/lib/ruby/1.8/irb.rb:54:in `start''
from C:/InstantRails/ruby/bin/irb.bat:20
================================
environment.rb
===================================
require "#{RAILS_ROOT}/config/nested_layout.rb"
ENV[''RAILS_ENV''] ||= ''production''
RAILS_GEM_VERSION = ''1.1.6''
require File.join(File.dirname(__FILE__), ''boot'')
Rails::Initializer.run do |config|
end
module ActiveRbacConfig
config :controller_layout, "con...
2007 Jun 21
1
render :partial => :url - is it possible?
...of googling for the answer to this question, but maybe I''m
just lacking the right word to search for.
Several parts of my site, such as sidebar components, are
self-contained, modularized and re-used in several parts of the site.
The sidebar is part of the layout (I''m using the nested_layout plugin),
rather than the page view.
# /app/layouts/layout_3_col.rhtml
<div class=''col_left col''><div class=''inner''>
<%= render :partial => @col_left_partial || ''col_left'' %>
</div></div>
However this means I n...