I don't recommend Ruby on Rails, but perhaps the logic could be recreated in another more reliable language in addition to beefing up the security.
Cool story. What makes Ruby unreliable/insecure?
Here are some reasons not to do it in Ruby on Rails:
1.) Ruby on Rails is a scripting language built on top of another language. Any flaws or bugs in the foundation language can propagate to the scripting language. It takes time to fix these changes until it is fixed and compiled in the Ruby language. (PHP works the same way where functions in PHP are mostly wrappers to functions in other libraries.)
2.) Ruby on Rails hasn't been around as long as some other web languages. It's less proven.
3.) There are less Ruby on Rails developers then other languages. In the case with Bitcoinica, the code was passed to Intersango who had no experience with Ruby on Rails.
4.) Ruby on Rails attempts to write code automatically for you. It's possible the automatically written code could be overlooked.
5.) There specific security issues with RoR. (I guess you could Google it.)
I'm not sure if you're a Rails troll and trying to spread some FUD but I'm going to clear some things up for you.1.) Ruby on Rails is a scripting language built on top of another language. Any flaws or bugs in the foundation language can propagate to the scripting language. It takes time to fix these changes until it is fixed and compiled in the Ruby language. (PHP works the same way where functions in PHP are mostly wrappers to functions in other libraries.)
Ruby on Rails is not a scripting language. It is a MVC framework built on top of Ruby. Just like other frameworks, like CodeIgniter, Kohana, Yii, ASP.NET MVC 3, it aims to provide agile development.
Many applications have been built with it. Sites such as GitHub (which hosts the core Bitcoin project), Yellow Pages, Groupon, and most of the latest hip start up companies use it.
2.) Ruby on Rails hasn't been around as long as some other web languages. It's less proven.
Have you been living under a rock?
http://rubyonrails.org/applications3.) There are less Ruby on Rails developers then other languages. In the case with Bitcoinica, the code was passed to Intersango who had no experience with Ruby on Rails.
The community & ecosystem is huge. Large enough for many companies to use it, and for many many libraries to be written for it.
https://github.com/rails/rails4.) Ruby on Rails attempts to write code automatically for you. It's possible the automatically written code could be overlooked.
It does not write code for you. It's a framework.
5.) There specific security issues with RoR. (I guess you could Google it.)
Just like any other Framework or language, there will always be potential security vulnerabilities. All of these have been fixed quickly.
However for vulnerabilities such as XSS, SQL injection, CSRF attacks, it is up to the developer to fix these. Rails already takes advantage of the best practices so these are almost impossible to leak through for any app. You won't have to go boast to your visitors that you use 'prepared statements'.