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.

2kan's latest activity

Saturday, February 12 2011
6422 [PACTH] Postgres adapter optimization for add_column method was created in Ruby on Rails
  • 2kan
    2kan created the ticket at 6:50 PM

    Looking at postgres adapter I found that add_column works not optimal. First it executes ALTER TABLE ADD COLUMN query and only then sets defaults and NOT NULL i...

Wednesday, February 09 2011
5417 validates_uniqueness_of should not trigger against a record marked for destru... was updated in Ruby on Rails
  • 2kan
    • State changed from stale to open
    by 2kan at 3:00 AM

    [state:open]

    The problem with this ticket and Javier Fernandez-Ivern's test is not in mark_for_destruction itself. In edge validations do not run for associatio...

Tuesday, February 08 2011
6363 scaffold problem when using certain words was updated in Ruby on Rails
  • 2kan
    2kan commented at 3:25 AM

    Dan, yes, that's great. I wasn't sure that I can fix it right in the inflector and not sure that there is no more such problems so I've decided just not to call...

  • 2kan
    • Tag set to rails edge, bug, generators, patch
    • Assigned user set to Santiago Pastorino
    by 2kan at 1:29 AM

    Yes, there is a problem that pluralize of a 'stadia' is 'stadias' (really don't know is it correct in english or not), but we know that stadia is correct plural...

Monday, February 07 2011
6363 scaffold problem when using certain words was updated in Ruby on Rails
  • 2kan
    2kan commented at 10:41 PM

    Takuya Okamoto, looks like you're right, gonna dig a bit more and assign a patch if you're correct.

6355 auto_link doesn't accept target='_blank' in Rails 3 was updated in Ruby on Rails
  • 2kan
    2kan commented at 9:40 PM

    It works in master. Both with and without block.

6228 Added disable_authenticity_token option to form helper was updated in Ruby on Rails
  • 2kan
    • State changed from committed to open
    by 2kan at 11:39 AM

    [state:open]

    Updated form helpers guide for new place of authenticity_token option in for_for helper.

Saturday, February 05 2011
6228 Added disable_authenticity_token option to form helper was updated in Ruby on Rails
  • 2kan
    2kan commented at 3:41 PM

    Added test for for_for and new authenticity_token option. Added docs. Added section about it to form helpers guide. All in one single patch.

  • 2kan
    2kan commented at 3:14 AM

    Santiago, since form_for works through form_tag we need just to write something like:

    form_for(@something, :html => { :authenticity_token => 'some_token_of_fal...
Thursday, February 03 2011
6290 [PATCH] except doesn't work in different scopes was updated in Ruby on Rails
  • 2kan
    2kan commented at 4:34 PM

    Santiago Pastorino, Yes this code computes at evaluation time, but it doesn't matter. I think that there is no reason (point me if i'm wrong) to allow user to u...