citier icon indicating copy to clipboard operation
citier copied to clipboard

item.type is deprecated

Open ulitiy opened this issue 13 years ago • 1 comments

You use item.type, but it's not available in the latest stable versions of ruby. citier / lib / citier / child_instance_methods.rb:39 for example so it raises NoMethodError: undefined method `type'

ulitiy avatar Dec 26 '11 17:12 ulitiy

Oh, that must be a column, sorry. But in your http://peterhamilton.github.com/citier/user_guide.html there is a column named :inheritance_column_name and there is no any word about the :type column. Maybe you should correct that in the user guide? Thank you for an excelent gem.

ulitiy avatar Dec 26 '11 18:12 ulitiy