Source: show | on GitHub
# File actionpack/test/dispatch/prefix_generation_test.rb, line 12 def self.model_name klass = "Post" def klass.name; self end ActiveModel::Name.new(klass) end
# File actionpack/test/dispatch/prefix_generation_test.rb, line 8 def to_param "1" end