use syntax highlighting in code formatting

removed references to rails2 which is not supported in this version.