Trying to implement an create if not exists else update record in Active Record.
Currently using:
@student = Student.where(:user_id
Unfortunately I think the cleanest way to do this is:
Student.where(user_id: id).first_or_create(age: 16).update_attribute(:age, 16)