Are there any (local) HTML validators for Ruby on Rails that work?

Viewed 3881

I've looked around all day yesterday for a working HTML validator that I could use to check the code generated by my rails application. So far, I've tried several different strategies such as RailsTidy, which no longer works as of Rails 1.9, tidy_ffi, which I've had a hard time "require"-ing when running in rails console, and the FireFox's Total Validator, which always gives me the same error regardless of what I'm checking.

My goal is to check my code while not having to upload anything to the internet. It would be most helpful to be able to run tests from the terminal (I'm using RedHat Linux) or to run tests on a running localhost server.

To save myself another day (or possibly more) of frustration, I've brought this question here and I'd like to know if anyone else has successfully worked with a validator for Ruby on Rails.

2 Answers
Related