Create struct Rails