Update model.eruby

add relative to legacy databse