quake wang
Not a member
quake wang's latest activity
Wednesday, March 25 2009
Saturday, March 21 2009
-
quake wang created the ticket at 6:20 AMclass Article < ActiveRecord::Base has_many :reviews endin rails 2.2.2, we can use fixnum parameter to destroy one collection object:
article = Artic...
Friday, March 20 2009
-
quake wang created the ticket at 12:38 PM2.3 new added Strategy::LocalCache is using MemoryStore as internal cache, which makes memcache stored object immutable(memory store: @data[name] = value.freeze...
Saturday, July 26 2008
-
quake wang commented at 2:26 AMI know will_change can resolve this issue as a temp solution, however, how to explain the inconsistent of string / numeric field?
create_table :topics do |t|
...
Sunday, July 13 2008
-
quake wang created the ticket at 4:14 AMRails 2.1:
create_table :topics do |t|
t.string :title
end
class Topic < ActiveRecord::Base
end
in console:
>> t = Topic.find(1)
>> t.title = t.title <...
-
quake wang commented at 4:04 AMI can't reproduce this error in rails 2.1, however, dirty checking is broken is this case:
>> m.reload
>> m.legs = m.legs << 4
>> m.changed?
=> false