adding rails plugin