this is an implementation of the AAQuestions that uses Active Record instead of SQL queries