Gotta have a new year resolution.
Author Archives: lucia
You Get What You Tolerate
There’s only one way to know for sure that one completely enjoys what they’re doing.
Divs Squashed of Their Original Height
Remove box-sizing: border-box;
and they’ll straighten up again.
Rails Model: has_many And belongs_to
Goal: structuring multiple Birds within each Nest, so that we could find all birds within a specific nest with routes such as /nests/:nest_id/birds
.
Why Should I Go On A Path To Mastery?
Because skills are the vocabulary for expressing oneself.
Not a Class Error Only In Production Environment
In my case it was the config.eager_load = true
within production.rb
that set it off. Changing it to false
fixed it.
Disable “Line exceeds maximum allowed length” in Coffee Lint
Find max_line_length
in your coffeelint.json
file:
Disable Popup “Please Fill In this Field”
Error trigger: it’s a known feature of Chrome 10, if required
is present in input [1].
Rails: Add Column Array in Database
Say we want to add a column named selected
to our user
model. Our selected
would be an array of integers.