Clear identity map on Rails console reload.

[ close #3002 ]