Remove rails-specific code.