[Rails-core] Making STI and Polymorphism Framework-Neutral

2006-04-29 Thread Joshua Harvey
I just submitted a patch that's important for my current project, and I wanted to hear what others think about the concept. Patch 4931 ( http://dev.rubyonrails.org/ticket/4931) allows the option of writing out all STI type fields and Polymorphic *_type fields in the underscore/plural style instead

Re: [Rails-core] Investigating Unicode, Take 2

2005-12-23 Thread Joshua Harvey
Just an update: I exchanged some emails with Julik and I'm going to try to get the Unicode gem working on Windows. Once that's done, we'll package a cross-platform gem of Julik's String-fixer (which relies on the normalization methods in the Unicode gem). This will solve the most egregious of the

Re: [Rails-core] Investigating i10n/i18n issues

2005-12-20 Thread Joshua Harvey
I think Julik brought up a very important issue, and I wish it had gotten more attention. Ruby's Unicode string handling is broken, mostly because it doesn't count multibyte characters correctly. Thijs Van Der Vossen wrote: >If you _need_ a dynamic language with a true and tested Unicode >String t