Tags » Ruby

Supernatural: Looking back to season four

A Chris Smolinski perspective

Each week I sit down and explore the list of “Supernatural” episodes. It is increasingly difficult to pick just one favorite. 278 more words

ChoreCorps II: MoreChoreCorps: Users Still Belong to Families -- the Sequel

Hello, all!

When last we exchanged words, I was working out a way to associate users with their families — an integral part of the functionality of ChoreCorps. 331 more words

Ruby

Splinters 29: Since the morning that we came

The next morning they all looked rather bleary – except for Henry, obviously. Henry was as lively as possible, making all three of them wince from time to time, as they sat waiting for their coffees to cool down to drinkable temperature. 3,070 more words

Splinters

ActiveRecord::Relation: delete vs destroy an Important Difference

#delete and #destroy are two methods that can be used to remove an ActiveRecord::Relation from your application’s database.

# Example of delete 
Model.find(params[:id]).delete

# Example of destroy
Model.find(params[:id]).destroy
… 44 more words
ActiveRecord

When did you start writing clean code?

I was asked this question this week: “When did you start writing clean code?”. I hadn’t thought of that before. Pondering on the question, I remembered when I started paying more attention to writing better code. 478 more words

Software Development

Boucheron Ruby and Diamond Bandeau Necklace

On July 12, 2017, Kate wore to the state banquet for King Felipe a stunning statement necklace that has a long and fascinating history.

The Hon. 164 more words

Diamonds