search for: sschroeder

Displaying 5 results from an estimated 5 matches for "sschroeder".

Did you mean: schroeder
2006 Jun 24
2
:limit => Parent / Child Relationship
Hi all, I trying to find the best way to do the following and I''ll use a blog with comments for an example. Blog has many comments Comments belongs to blog My question is how to limit the number of comments (child) records read for each blog (parent) record. Most of the solutions I''ve come up with are limiting the number of records displayed within the views but the
2006 Feb 11
7
Menu Helper
Hi all, I''m trying to add a common menu to all pages in my application. It is just a set of links I want to display. I''m having trouble deciding where to put the code. Below is what I''ve tried to get out of the "Four Days on Rails" tutorial but no luck. Any help would be appreciated. Am I on the right track? Thanks, Sam
2006 Feb 17
0
SearchGenerator: Results list duplication
Hello all, I''ve installed the SearchGenerator from here (http://wiki.rubyonrails.org/rails/pages/SearchGenerator) and have it up and running perfectly when I only have one field in the make_searchable list. When I add a second field to the make_searchable list I get some strange behavior, my results list now displays each result twice. Has anyone else encountered this issue and if
2006 Feb 20
2
Alternating Table Row Colors
Does Rails have built in support for alternating table row colors? Thanks, Sam
2006 Feb 18
5
Date formatting error
Hi All, I''m a bit stumped. All I''m trying to do is format a date and I get an error. Details below. I have a partial to list all "notes" associated with a "client" with the following code. <% for note in @client.notes %> <hr /> <%=h note.note_text %> Posted on <%=h note.created_at.strftime("%I:%M") %> by <%=h