Hi !

I'm need to use ActiveRecord::Base#content_columns, but this method
does not filter out columns suffixed with _type, which is what
polymorphism uses.

I checked the 1.2 branch and trunk, and both don't do it:
http://dev.rubyonrails.org/browser/trunk/activerecord/lib/active_record/base.rb#L810

Is that considered a bug ?  I'll whip up a test and patch if that is
indeed a bug.

Bye !
-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to