# File activesupport/lib/active_support/inflector/methods.rb, line 178
def classify(table_name)
# strip out any leading schema name
camelize(singularize(table_name.to_s.sub(/.*\./, '')))
end
Which leads to unwanted behaviour since we're not dealing with table_name here:
Cell are using
classify
: https://github.com/apotonick/cells/blob/master/lib/cell/concept.rb#L9That is using
singularize
:Which leads to unwanted behaviour since we're not dealing with
table_name
here:I suggest to have an in-house classify method that doesn't do singularize on the Cell name.