before rails console fix