Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Tekin's latest activity

Saturday, August 16 2008
837 PATCH: specify the disabled attribute for option tags was updated in Ruby on Rails
  • Tekin
    Tekin commented at 11:38 AM

    Here's an improved patch with added documentation.

836 PATCH: assign collection counter local variable in partials based on the :as ... was updated in Ruby on Rails
  • Tekin
    • 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
    by Tekin at 11:05 AM

    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
836 PATCH: assign collection_size local variable in partials was updated in Ruby on Rails
  • Tekin
    Tekin commented at 4:38 PM

    I guess so. In fact, Michael's patch does just that!

    I've combined Michael's patch with mine, attached.

  • Tekin
    Tekin commented at 9:09 AM

    Great minds!

837 PATCH: specify the disabled attribute for option tags was created in Ruby on Rails
  • Tekin
    Tekin created the ticket at 12:07 AM

    Adds the ability to specify the disabled attribute when generating option tags with the form helpers.

Thursday, August 14 2008
836 PATCH: assign collection_size local variable in partials was created in Ruby on Rails
  • Tekin
    Tekin created the ticket at 11:24 PM

    A 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
317 named_scope drops :limit option was updated in Ruby on Rails
  • Tekin
    Tekin commented at 1:38 PM

    OK, my mistake, to get the desired effect, you have to do:

    Product.most_ordered.all(:limit => 3)

    invalid ticket...

Tuesday, June 03 2008
317 named_scope drops :limit option was updated in Ruby on Rails
  • Tekin
    Tekin commented at 3:24 PM

    Here's a failing test

  • Tekin
    Tekin created the ticket at 3:24 PM

    Passing 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
278 patch for plugin install to support scp syntax git repo urls was updated in Ruby on Rails
  • Tekin
    Tekin commented at 3:00 PM

    Although 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...