I noticed a weird thing. I accidentally typed:
@a = n
which led to exit of rails console.
On further experimenting I found out even if I just do (in console)
n
The console exits. If I try any other character, I get error as expected.
a
# => NameError: undefined local variable or method `a' for main:Object
I was not able to find any documentaion that stated n
is used to exit rails console
. Is this normal? Or my console is breaking cause of some thing that I dont understand at all?
Versions:
ruby 1.8.7 (2012-06-29 patchlevel 370) [x86_64-linux]
Rails 3.2.13