class ActionDispatch::Routing::Mapper::Resources::Resource

def singular

def singular
  @singular ||= name.to_s.singularize
end