Displaying 2 results from an estimated 2 matches for "rpast".
Did you mean:
past
2006 Aug 03
5
DRYing up the view
Hello everyone!
I have generic views for CRUD operations
For example I render(''shared/list'') from controller
shared/list.rhtml
...
<% for item in @list %>
<tr class="<%= cycle ''list-line-odd'', ''list-line-even'' %>">
<%= render :partial => ''item'', :locals => { :item => item } %>
2006 Jun 04
0
[SUMMARY] Rails Core Weekly May 29 - June 4
...is replies:
"...we''ll see what can be done with this, since it
should definitely not be acting so zealous."
Rick Olson tries out the routing code on Simply Restful and seems to
be getting a lot of errors. He wrote the most useful thingy to help
people test their routes: http://rpaste.com/pastes/198 Dump that in
view directory and just run it (generate a controller for it but don''t
add any methods to it). Apart from being mightily useful it also
teaches the casual reader about the new routing code. Thanks Rick ,
great stuff.
Last notes regarding the module is from Jul...