Phoenix |> Strong Params

Motivation

Ecto and cast/4

Pattern matching

A different approach (show me code, dude)

Showing a common "controller-like" params input, "bogus" is removed

Using with Controllers

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lucas de Queiroz Alves

Lucas de Queiroz Alves

More from Medium

Simple Password Resets with BCrypt and Action Mailer — Ruby on Rails

Ruby Vs Elixir — What’s the Difference?

Working with ruby C extensions on Mac

LHM to the Railscue