Displaying 3 results from an estimated 3 matches for "table_builder".
2007 Oct 29
0
partials with yield
I''m just wondering if you can use yield/closures in action view
templates, it''s kind of hard to explain so I''ll use an example:
<%= render(:partial => "table_builder", :locals => {:headings =>
["name", "id"], :collection => @users}) do |user| %>
#the partial build a table with the headings etc and then yields
here for the row data
<td><%= user.name %></td><td><%=user.id %></td>
<...
2011 Mar 14
0
Problems with viewing my calendar
Hey dudes,
i''m trying to build a small calendar into my app. I follow the steps
shown in http://railscasts.com/episodes/213-calendars, so i go with the
table_builder gem, which allows to use the calendar_for command. But
unfortunately it doesnt work or rather show the results in my
view-template. I even got no error-message.
It only shows this: (twice!!?!)
Calendar
< March 2011 >
<th>Sonntag</th><th>Montag</th><th>Dienstag&l...
2008 Jan 16
4
Calendar in Rails
HI All,
Please can anyone tell me whether there is a rails plugin/app that
allows creation of a calendar that can render events. I am not talking
about a calendar date picker of which there are several, but something
more along the lines of http://www.backpackit.com/calendar where an
html/css calendar can be rendered with dates highlighted.
Many thanks
Anthony