Displaying 20 results from an estimated 1000 matches similar to: "? concerning ActiveRecord, Action and template"
2009 Jan 03
2
Some questions from a new webgen user
Hi everyone. Sorry if it is not the place to post questions about
webgen. I use webgen5, i know it is not the stable version but i
couldn''t understand how webgen4 worked, it''s easier with webgen5, and
i won''t have to change my pages when it becomes mainstream ;)
I try to build my homepage using webgen, and there are some things i
don''t know how to do (i am sure
2006 Mar 28
1
Simple Sidebar Solutions: How does yours work?
I''m working on a simple photo gallery app for personal use and I want to 
generalize the sidebar such that in any page (controller or view, I''m 
not sure which) I can dynamically add either
1. links to a given sidebar
2. or an entire sidebar.
I know that typo does this, and I''ve looked the code. I think it''s too 
complex a solution for my simple site.
2010 Aug 18
2
RSpec 2/Rails 3 - content_for in view specs
My main layout includes separate content_for/yield sections for my header,
sidebar, footer, and content. However, when running a view spec, the
`rendered` variable seems to only contain a string of just the primary
content and ignores the header/footer/sidebar as well as the rest of my
layout file (the "render" call just returns my primary content wrapped in
generic <html> and
2006 Feb 06
0
Problem with login form in sidebar
I have a basic login form rendered as a component in the sidebar of my 
main layout view.
Whether or not the login succeeds, the controller redirects to the main 
index to refresh the sidebar.  On success, I set the session[:user_id] 
to @user.id as usual.
The problem is that ''index'' gets rendered in the sidebar.  However, when 
I comment out "session[:user_id] =
2007 Jun 21
1
render :partial => :url - is it possible?
Hi, this is my first post to the list. I''m still learning the rails 
framework, having done most of my previous web development in PHP. I''ve 
done a bit 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
2006 Feb 19
2
instance variables in components not read by component view?
Hi,
I''m trying to write a sidebar menu with dynamic menus, and to do so I 
would like to define a list of menus to display within my sidebar 
component controller code and pass that list to the component display 
view, like so:
# menu_controller.rb
class Sidebar::MenuController < ActionController::Base
  uses_component_template_root
  @menus = %w{admin user help}
  def display
   
2006 Mar 08
1
Components calling components...
Hi,
I''m relatively new to ruby and rails.  I would like to have a sidebar
component call one of several other constituent components.
I''ve run into some problems, and so I''ve pruned things back to a
relatively simple case.
I have a sidebar component.  Renders great.  In it''s layout, I call
render_component for another component I would like in the sidebar. 
2006 Feb 27
1
@content_for_sidebar?
Okay, I see this instance variable places, but I can not determine if it is real 
or where the content comes from.  I''ve tried views/<controller>/sidebar.rhtml, 
_sidebar.rhtml, views/layouts/sidebar.rhtml and views/layouts/_sidebar.rhtml.
Does this actually exist?  What''s the Rails Way to make a good sidebar?
http://www.google.com/search?q=content_for_sidebar
Thanks,
2007 May 23
4
content_for
Any ideas how I would go about writing specs for views which make use
of content_for?
I''d like, for example, to be able to specify that ABC view places XYZ
in the sidebar, which I do using content_for(:sidebar).
Am I missing something obvious?
Kyle
2013 Jul 24
2
[OT] Tidy of Wiki Sidebar
I have been tidying up bits of the Wiki.  This
one is not clear cut, so I decided to seek
advice.  Also, I wasn't sure where to post this
question, so defaulted to ogg-dev.
Should Speex and CMML be removed from
the Wiki Sidebar at:
    https://wiki.xiph.org/MediaWiki:Sidebar ?
Many thanks,
Martin
-- 
Martin J Leese
E-mail: martin.leese  stanfordalumni.org
Web:
2013 Aug 09
1
[OT] Tidy of Wiki Sidebar
On August 9, 2013, Silvia Pfeiffer wrote:
> On Thu, Jul 25, 2013 at 6:36 AM, Martin Leese wrote:
...
>> Should Speex and CMML be removed from
>> the Wiki Sidebar
> Don't remove Speex - it's still very much in use.
>
> We probably want to add Daala to the list of video codecs:
> https://wiki.xiph.org/Daala
>
> We probably want to remove CCML from the
2006 Apr 08
0
Drag and Drop ajax Bug in the typo sidebar management under IE6
hi, i have discovered a bug under IE6 and the sidebar management of typo.
you can see the html coda that show the error on
http://www.shoob.com/denis/sidebar_typo/sidebar.html
or download the code locally  with
http://www.shoob.com/denis/sidebar_typo.zip
i''m not able to find what cause the  error so i cannot propose a patch.
The Error is on the onHover method line 698 or 687
2006 Apr 18
0
Drag an drop bug in typo sidebar management, any help welcome
hi, i have discovered a bug under IE6 and the sidebar management of typo.
I have created a simplified version  available under
http://www.shoob.com/denis/sidebar_typo/sidebar.html
 
The code is also available locally
http://www.shoob.com/denis/sidebar_typo.zip
Every thing run fine under fifireox, safari and opera. We only have an 
error under IE 6.
i''m not able to find what cause the 
2013 May 02
0
[LLVMdev] Improving the usability of LNT
Wow, that sounds great! Thanks for working on this, and yes, please, send
the patches!
--renato
On 30 April 2013 16:23, Murali, Sriram <sriram.murali at intel.com> wrote:
>  Hi Daniel,****
>
> I made some changes to the LNT perf reporting tool to make it more user
> friendly by adding some features:****
>
> **1.      **Make the sidebar and the navigation bar stationary,
2012 Aug 30
2
The FLAC website
Sorry, for the late repsonse Martijn. I've been crazy busy.
Martijn van Beurden wrote:
> On 28-08-12 10:46, Erik de Castro Lopo wrote:
> > I think thats a great idea. WOuld be happy to have someone pick
> > this up and run with it.
> 
> So I got busy but stumbled upon several things. I'm not sure why there 
> are two boxes displaying the same news on the homepage
2006 Mar 24
3
Changing sidebar in layout per controller
I am currently using 2 layouts in my site. One is for the admin area. I 
am trying to get content in my sidebar to change depending upon the 
current controller.
Example:
Within admin I have a users controller and a articles controller. When 
in the users view I want the sidebar to display options (like add user 
delete user etc).
What is the best actionview way to do this. I don''t
2006 Jul 06
0
Layouts, Searching/Sorting
Two questions for you all...
1. I have an admin section to a site I''m building. Here''s the pertinent 
bit of the layout that all controllers are using:
<div id="main-content">
  <%= @content_for_layout %>
</div>
<div id="sidebar">
</div>
I''m using @content_for_layout to display various controller actions such 
as new,
2006 Mar 10
1
Maximum size of Ajax partial in Firefox?
Hi,
I''m writing an app that has some ajax-y content to it and am 
experiencing a weird error in Firefox (1.5.0.1) that doesn''t appear 
elsewhere (where ''elsewhere'' is IE6).
I''ve basically taken the typo sidebar code and rewritten it for my 
needs. One of the things I''ve written is a ''sidebar'' that lists all the 
countries in
2012 Aug 28
0
The FLAC website
On 28-08-12 10:46, Erik de Castro Lopo wrote:
> I think thats a great idea. WOuld be happy to have someone pick
> this up and run with it.
So I got busy but stumbled upon several things. I'm not sure why there 
are two boxes displaying the same news on the homepage right now, so I 
made two screenshots of possible designs, one which keeps both boxes and 
one that moves everything to the
2012 Sep 14
0
The FLAC website
Hi all,
I've updated the RSS feed and made the pages fetch and display that 
feed. Now only the feed had to be updated to update the pages as well.
I have included a patch, however, I've never worked with git before so I 
hope everything is done correctly. If not, please tell me. I've removed 
the feeds/news-atom1.xml file, however that doesn't show up in the diff 
file?
I would