Julian Leviston wrote:
> It's bad practice to have an association or method called type because
> ruby already defines
> One IMHO
> 
> Sent from my iPhone
> 
> On 02/02/2009, at 6:48 PM, Rasmus Nielsen 
> <rails-mailing-l...@andreas-s.net

I agree - but I'll use it anyway because of the following reasons:
1) Object#type is being deprecated (use #class instead)
2) I cannot find a synonym to type that does describe the entity as well 
as "type" does
3) It works flawlessly ;-)
-- 
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