If restarting the rails server does not work, you may have an older one that is still running in the background.
To verify this, run ps aux | grep springto display all running Spring servers. A running Spring server will have the last three columns spring server | YourApp | started X hours ago.
, 4-5- ( ) kill -9 X, X - .
, , rails s .