Episodes

#151 Safely Running Shell Commands 9-16-2018

We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.
1
pro rails security ruby 0 Comments

#150 Database, Model and Scopes 9-9-2018

In this episode, we take a look at some tips and tricks around the database schema and model scopes.
5
pro rails model database 2 Comments

#149 Rails Presenters 9-2-2018

Separating view logic from bloated models can help maintain the model in the long run.
7
free view rails 0 Comments

#148 ActiveRecord Callbacks 8-26-2018

Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.
5
pro rails model activerecord 0 Comments

#147 State Machines with AASM 8-19-2018

State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.
3
pro rails ruby state machine 0 Comments