Help with ActiveRecord

Could someone with more experienced with the ActiveRecord point me in the right direction for questions on my first code PR? I would really appreciate it!

Thanks,

Tom