Fast fact for today: In the context of the app I'm building, views with the same code to render html forms can be consolidated into a partial. For...
Today's fast fact: HAML is a replacement for HTML YAML is a data language, ie a replacement for JSON and XML.
This one feels like a simple concept to teach, but an easy one to forget. The or-equals operator ||= allows a value to be assigned to a variable if...
Using resources :controller_name automatically adds a full suite of RESTful routes. For more limited scope controllers (like a login controller), you...
Hi everyone! I'm teaching myself Ruby on Rails with the help of Michael Hartl's superb "Learn Enough to Be Dangerous" series. I'll be summarizing the...
Never knew that word until Codewars. Thanks!