Generated as rails plugin