For the sake of completeness, let’s briefly review the basics of how Active Record works. In order to create a new model class, the first thing you do is to declare it as a subclass of ActiveRecord::Base, using Ruby’s class extension syntax:
class Client < ActiveRecord::Base
end
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.