Frederick Cheung
Member of 1 project: Ruby on Rails
Frederick Cheung's latest activity
Monday, December 08 2008
-
Frederick Cheung commented at 3:03 PMLooks like lighthouse has somewhat mangled what you wrote.
Can you reduce this to a minimal example, where you - take a model - dump the xml - change the xml us...
-
Frederick Cheung commented at 11:26 AMAs a very quick test I did this (in a rails 2.2 app)
module Enumerable def old_group_by groups = [] inject({}) do |grouped, element| index = ...
-
Frederick Cheung commented at 10:59 AMSounds like you've got it figured out, so why don't you create a patch/tests :-)
-
- State changed from new to invalid
Type is a "magic" column for activerecord, used for single table inheritance (and slightly magic for ruby too, since Object#type is a deprecated alias for Objec...
Sunday, December 07 2008
-
Frederick Cheung commented at 2:54 PMI wonder if is related to this thread ? I assume the column is marked as being nullable
-
- State changed from new to invalid
To quote inflector.rb:
The Rails core team has stated patches for the inflections library will not be accepted in order to avoid breaking legacy applications ...
-
- State changed from new to invalid
I just did a quick experiment and this seemed to work ok (on 2.2.2) . Can you construct a failing test/example to show exactly how it isn't working for you?
Thursday, October 16 2008
-
Frederick Cheung commented at 7:10 PMEven that can get hairy when table aliases are involved but at that point it's quite tricky to write the conditions anyway. Definitely worth a try
On 16 Oct 200...