# File lib/active_model/naming.rb, line 77
    def model_name
      @_model_name ||= begin
        namespace = self.parents.detect { |n| n.respond_to?(:_railtie) }
        ActiveModel::Name.new(self, namespace)
      end
    end