Like Codecademy, and it saves the data for different users. Ive been looking for ages, but havent come up with anything...
There isn't a Rails live-editor available, since Rails requires a database instance and a server-side process, making such an endeavor expensive (and not particularly useful). But you can get what you're looking for -- a persistent, easy Rails setup -- with a free Heroku dyno and a quickstart guide.