add rails,mobile to model