Episodes

#152 Deeper Dive into StimulusJS 9-23-2018

In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.
8
pro rails model ajax javascript framework 0 Comments

#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.
2
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.
12
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.
10
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.
7
pro rails model activerecord 0 Comments