Rails event db.