added scope to student.rb