I've not used Ruby on Rails for much serious work, but it is definitely a much cleaner language than PHP.
The thing I dislike most about PHP is the sheer mess that is its functions library; function names and parameter orders are inconsistent, and due to the fact that PHP is late to the scene with object-oriented constructs it is just generally horrible; for-example, in RoR you have "a string".split(/,/), whereas in PHP you have explode(',', "a string"), in RoR you have "a string".capitalize(), in PHP you'd have to do str_to_upper("a string"), you have to either memorise, or constantly look-up tons of different functions, rather than just calling appropriate functions as member-functions/methods, it's very messy!
Really I would have expected the PHP creators to have released a version that has proper object-oriented libraries etc. by now, with the same basic features, possibly with some way of distinguishing between current code and a new cleaner syntax/library while running them side-by-side.
PHP currently has the main advantage that it's been around for so long that it has a really-rich feature-set, which I believe Ruby on Rails is lacking; not say it's crippled in any-way, but PHP has many ways to solve different problems.
On the issue though, is there a preferred editor for use with Ruby On Rails? The thing that puts me off using it any more is the use of command-line to interact with it, really I'd rather use a tool that does that stuff for me; with PHP all you need is a text-editor