change :id to :record_id