Change the method about how attend course works with a new column in attend active record