Tekin
Developer · Not a member
Tekin's latest activity
Saturday, August 16 2008
-
- Title changed from PATCH: assign collection_size local variable in partials to PATCH: assign collection counter local variable in partials based on the :as option
A small part of the patch might still be worth keeping though - the part that creates a counter based on the :as parameter. It doesn't feel right that specifyin...
Friday, August 15 2008
-
Tekin commented at 4:38 PMI guess so. In fact, Michael's patch does just that!
I've combined Michael's patch with mine, attached.
-
-
Tekin created the ticket at 12:07 AMAdds the ability to specify the disabled attribute when generating option tags with the form helpers.
Thursday, August 14 2008
-
Tekin created the ticket at 11:24 PMA simple patch that adds a collection_size local variable to partial collections. Usefully specifically when you want to know if you are rendering the last item...
Thursday, June 05 2008
-
Tekin commented at 1:38 PMOK, my mistake, to get the desired effect, you have to do:
Product.most_ordered.all(:limit => 3)
invalid ticket...
Tuesday, June 03 2008
-
-
Tekin created the ticket at 3:24 PMPassing the :limit option to a named scope has no affect on the query generated.
e.g.
class Product named_scope :most_ordered, :order => 'ordered_count ...
Friday, May 30 2008
-
Tekin commented at 3:00 PMAlthough I've got no tests, neither does the plugin manager at present and this patch is fairly straightforward:
1. It relaxes the regular expressions that de...