Connection lost
Reconnecting. If you just saved something, check that it saved before trying again.
Server error
Reconnecting to the server. If you just saved something, check that it saved before trying again.
Passing match suffix to ecto's foreign_key_constraint/3
TIL that ecto's foreign_key_constraint/3 can match constraint names by suffix. You don't have to list every constraint by its full name. You write the...
The amazing v/1 helper function
I may be late on this one but today I learned about the v/1, a helper function that retrieves the value from a previous expression by its line number ...
Fine tuning routing for a better UX
Phoenix gives you a very cool and easier way to fine tune your routing and be able to effectively handle cases where, say a user has a typo in the url...
Accessing localhost app on other devices in the same network for testing.
Today I found a solution to a problem I had, but then the solution came with a whole new development experience I did not have in mind. Initially, I h...
Simplify Pattern Matching with Map Updates
Imagine you have a nested map structure representing a user with preferences:...
Adding binary id to phoenix apps
When generating a new phoenix application, you can pass the --binary-id flag to get uuids. However, it is possible to forget this and when you do you ...