Displaying 2 results from an estimated 2 matches for "_tabs".
Did you mean:
tabs
2006 Jan 04
4
HOWTO: Render partial in div
...ullname = studentid[:full_name]
name = Student.find_by_full_name(fullname)
@archives = PhoneLog.find(:all,
:conditions => ["user_id = ? AND student_id = ?",
@session[''user''].id, name.id])
# Render the tabs
render :partial => ''tabs''
end
# _tabs.rhtml
<div id="tabs">
<ul>
<li><a href="#" onclick="Effect.Appear(''new_plog'');
Effect.SwitchOff(''contentcenter''); return false;"><span>New
Plog</span></a></li>
<% for archive in @...
2008 Jul 01
8
redirect_to not working
...ub3RpY2UiIVdlbGNvbWUgYmFjayBOYXRoYW4g
TGVhdml0dCEGOgpAdXNlZHsGOwhG--2ad40b26ad78c3a7aec22ae0d05b647e64a9d16e
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/application
Rendering welcome/index
Rendered shared/_tabs (0.00261)
Completed in 0.01578 (63 reqs/sec) | Rendering: 0.00692 (43%) | DB:
0.00000 (0%) | 200 OK [http://localhost/welcome]
As you can see... it renders the welcome controller and action, but on
my browser it''s still at the login screen. I can''t figure out why it
isn'...