1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib
Carlos Antonio da Silva ce06b8a56c 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.
2012-08-11 13:33:28 -03:00
..
active_model Refactor model name logic and make it a real private class method 2012-08-11 13:33:28 -03:00
active_model.rb