add rails ERB handler class for use with Rails

TODO: test it to make sure it works!