Displaying 4 results from an estimated 4 matches for "layout_nam".
Did you mean:
layout_name
2006 Jul 17
5
Functional Tests misbehaving with Globalize
Howdy all
Apologies to the folks subscribed to the globalize list for dual
posting this message...
I''ve got a project running globalize and rails 1.1.4, and I''ve only
recently adopted a strong love for testing. Now my models are 100%
tested (I must note that I do not make use of any translations in the
database yet), and I''ve now started with functional tests before
2006 Mar 31
3
Need to use a method without the layout
I need to use a method (called by one of my controllers) without using
the layout. All the other methods in the controller need to use this
layout except for thismethod (becausae it''s called by an Ajax script). I
know how to use :layout=>layout_name when calling a method from another
method, but nothing is calling this.
The layout needs to be removed in the method itself or I need to call
another (''blank'') method instead.
Please help!
thank you!
--
Posted via http://www.ruby-forum.com/.
2007 May 09
5
layouts + routes = confused
I''m new to RoR and the tutorials I''ve found on the web, while helpful,
aren''t as "complete" as I''d like them. I understand the basics when
it comes to layouts and routes, but I''m trying to get them to work
together.
MY first task was to implement a user authentication system
(registration/login/logout/change_password). This works fine with
2006 Feb 05
4
Another layout question - Layouts on a per method basis - Layouts with AJAX
I feel I am very close to understanding how layouts are used in Rails:
Q1. I know one can specify a "default" layout for all methods in a controller by specifying
layout ''my-default-layout''
How can this be overridden for individual methods so when those methods are called/executed, the overridden layout will be used. Is this possible?
Q2. With no