fixed bug in rails console