Вопрос

Is there anywhere online where you can test Ruby on Rails?

Mainly testing getting data from models. Looking for something similar to http://jsfiddle.net/.

Это было полезно?

Решение

If I understand you correctly, and I'd like to think I do, you want a website which you could hit with your app that would let you correctly build queries using your ActiveRecord models?

No, there isn't such a place, namely because your models are different from my models and there isn't any common code. If you need to test getting data from your models, you can use the testing libraries of which there are many (Test::Unit, RSpec, MiniTest/Spec, etc, etc).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top