Christopher Thompson
Not a member
Christopher Thompson's latest activity
Thursday, February 10 2011
6406
ActiveRecord::XmlSerializer fails with has_one types
was created
in Ruby on Rails
-
Christopher Thompson created the ticket at 6:05 PMThis problem exists in Rails 2.3.10. Code inspection in 3-0-stable shows the problem also exists there, but I have not verified this. Below, I am discussing Rai...
Thursday, November 25 2010
-
Christopher Thompson commented at 5:05 PMIn ticket #6057, Andrés Mejía asked:
"Rails has a longstanding policy of not taking further inflector patches."
May I ask what is the reason behind this?
I'd ...
-
Christopher Thompson commented at 5:02 PMAnother workaround. Instead of:
s = 'Address' s.singularize # 'Addres'Do:
s = 'Address' s.pluralize.singularize # 'Address'Note that this affects the beha...
Wednesday, November 24 2010
6057
'Address' does not singularize properly
was created
in Ruby on Rails
-
Christopher Thompson created the ticket at 5:25 PMUsing Rails 2.3.5 or Rails 3.0.3, testing in irb:
'Address'.singularize => "Addres"However, the following works:
'Address'.pluralize.singularize => "Address...