* Move to a frontend job that is less chaotic. RoR jobs are relatively easy to find and some codebases are quite tidy. Plus, the framework moves slowly and there is little JS.
* Move to a backend job that uses an interesting technology, like Erlang, OCaml or Haskell. These technologies will provide some stimulation due to elegance and novelty.
* Pivot to a job in a different domain. Consider academic, industrial and national laboratories where you can leverage your coding experience.