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.

Gacha's latest activity

Thursday, May 27 2010
4707 accepts_nested_attributes_for '_delete' feature broken in Rails 2.3.8 was updated in Ruby on Rails
  • Gacha
    Gacha commented at 6:35 AM

    You'r right, it works. But I didn't see any warning when I used _delete option.

Wednesday, May 26 2010
4707 accepts_nested_attributes_for '_delete' feature broken in Rails 2.3.8 was created in Ruby on Rails
  • Gacha
    Gacha created the ticket at 3:29 PM

    I created Rails 2.3.8 test application:

    class User < ActiveRecord::Base
      has_many :addresses
      accepts_nested_attributes_for :addresses, :allow_destroy => tru...
Thursday, April 15 2010
4401 Cookies :expires value WRONG when I18n locale isn't EN was updated in Ruby on Rails
  • Gacha
    Gacha commented at 8:37 AM

    Working workaround:

      response.headers['Set-Cookie'] = "welcomed=true; path=/; expires=#{I18n.l(1.year.from_now, :locale => :en, :format => "%a, %d-%b-%Y %H:%M...
  • Gacha
    Gacha created the ticket at 8:13 AM

    Example code:

      cookies[:welcome] = {:value => 1, :expires => 1.day.from_now}
    
    Result when LV locale enabled:
      Set-Cookie: welcome=1; path=/; expires=Pk, 15-...