Please sign in to comment.
Refactor model name logic and make it a real private class method
Under a "private" call, class methods are not real private methods, they're public just like any other method. Make model_name_from_record_or_class a private class method, and nodoc it.
- Loading branch information...
Showing with 8 additions and 5 deletions.