ActiveRecord: relations, validations, queries
Last week we got our first introduction to ActiveRecord when we saw the generated Models from
rails g scaffold. This week we're going to explore the functionality that Rails provides out of the box in terms of persisting and retrieving our site resources. We're also going to get more comfortable working with our application's data layer interactively.
Same codewars challenge as last week (RSVP to see it), since we're getting into some ruby this week.
Be sure to complete the following Codewars challenge before class!
(If your RailsSchool profile includes your Codewars username, you'll get
a nifty star if you complete the challenge.)