You need the contents of secret_token.rb to exploit this (via a forged session). This makes it much more of a danger to OSS projects than to those in the closed source space.
It's not just a SQL Injection vulnerability. With that secret token, you can set any session value you like.