Testing Ruby on Rails

108 views Asked by At

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/.

1

There are 1 answers

2
Srdjan Pejic On BEST ANSWER

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).