Utilizing the functionality of SQL in Ruby through ActiveRecords

Using .all on class of Song and setting the array to variable all_songs
Iterating over array with variable set to string “ng” with .include? — *FAIL*
.select returning only the matching three records
The Ruby way of doing partial string, matching mixed cases
using ActiveRecords where LIKE ?
sql records being transformed into a Ruby artifact

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store