Ryan Bates
Railscasts · Not a member
Ryan Bates's latest activity
Friday, August 22 2008
-
Ryan Bates commented at 1:02 AMI added ticket #881 which does some refactoring to ActionView::Partials. Then it will be easier for plugins to override render_partial_collection and support mo...
-
Ryan Bates created the ticket at 12:54 AMI saw some potential refactorings for ActionView::Partials to remove some duplication and clean things up. Attached is a patch.
Here's an overview of what I di...
Thursday, August 21 2008
-
Ryan Bates commented at 9:02 PMThe better_partials plugin is just a wrapper around "render", so it faces the same problem. There's no way to add a spacer as a string without re-implementing t...
-
Ryan Bates commented at 7:03 PMI agree many people don't use spacer_template, but I would certainly use this :spacer option more. I need this behavior in almost every project but find other w...
Tuesday, August 19 2008
-
Ryan Bates commented at 12:26 AM+1, I've run into this problem before too.
But does this patch handle the case where a different button is pressed after the original onsubmit failed? Maybe ad...
Monday, August 18 2008
-
Ryan Bates commented at 2:56 AMjshumate, do you have an example app or piece of code that replicates your problem? I think that would help us debug it.
Sunday, August 17 2008
-
Ryan Bates commented at 11:11 PMIn Ruby, a method called at the class level is called directly on the class.
Item.delete_all # is the same as class Item delete_all endI do see how it's...
-
Ryan Bates commented at 5:29 AMHere's an updated patch with the underscore prefix. I'm not sure what's involved in moving the execute method over to renderable, so I'll leave that to you. :)