Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 273 Bytes

phoenix_naming.md

File metadata and controls

11 lines (6 loc) · 273 Bytes

Phoenix.Naming

Phoenix has an awesome module - Naming

Phoenix.Naming.camelize/1 - convert "any_like_that" into "AnyLikeThat".

Or it might be useful here

Phoenix.Naming.humanize(:created_at) -> "Created at"

Source: https://hexdocs.pm/phoenix/Phoenix.Naming.html