Methods
M
P
T
Class Public methods
model_name()
# File actionpack/test/dispatch/prefix_generation_test.rb, line 13
def self.model_name
  klass = "Post"
  def klass.name; self end

  ActiveModel::Name.new(klass)
end
Instance Public methods
persisted?()
# File actionpack/test/dispatch/prefix_generation_test.rb, line 21
def persisted?; true; end
to_model()
# File actionpack/test/dispatch/prefix_generation_test.rb, line 20
def to_model; self; end
to_param()
# File actionpack/test/dispatch/prefix_generation_test.rb, line 9
def to_param
  "1"
end