It's a really simple question. Is this:
format.json { render json: @student.errors, status: :unprocessable_entity }
100% equivalent to this:
format.json { render json: @student.errors, status => :unprocessable_entity }
It seems to be, but maybe I'm missing a subtlety? If it is equivalent, why is the colon notation better? I assume there's a reason, as Rails uses the first notation in scaffolds, but those opposing colons bother me.