Julian Leviston wrote:
> At the ruby level, type is an alias of
> class, too (sorta), so it's gonna have some major issues with that word.
> 
> Sent from my iPhone
> 
> On 30/01/2009, at 4:20 AM, Rob Biedenharn <r...@agileconsultingllc.com>

Yes I know - but why doesn't

belongs_to :blah, :class_name => "ItemType"

... not work then?

It seems it fails only when the class name ends with *Type which does 
really makes sense to me.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to