Hi, I’ve just released the rails-web-console gem.
Have you ever wanted to test Rails scripts directly in the browser?
Now you can. It’ll be run in a controller’s instance binding, so you
can see your session, for instance.
Installation is as simple as adding this to your Gemfile (only Rails 3
is supported at the time):
gem ‘rails-web-console’, :require => ‘console’, :group => :development
Then access ‘/console’ and you’re set.
Source is availabe in:
You can contribute with syntax highlight or porting it to Rails 2, for
instance, if you want to.