> It means I'll have to change my models ! Seriously, #name is a method > in Class. So, we can't use it in models. #type is another. It means > we can't have Single Table Inheritance working.
methods = [ ActiveRecord::Base.methods, ActiveRecord::Base.instance_methods].flatten.compact.uniq Why are you taking the class methods as well? Column names won't conflict with class methods. #type is a problem though ... Perhaps: methods = ActiveRecord::Base.instance_methods - Object.instance_methods -- Cheers Koz _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core