Gacha
Not a member
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 commented at 6:35 AMYou'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 created the ticket at 3:29 PMI 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 commented at 8:37 AMWorking 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 created the ticket at 8:13 AMExample code:
Result when LV locale enabled:cookies[:welcome] = {:value => 1, :expires => 1.day.from_now}
Set-Cookie: welcome=1; path=/; expires=Pk, 15-...