Created rail with database, success