updated rails plugin