Add references to ActiveRecord query example