Abstract:After analyzed the architecture of Rails framework in-depth, this paper combined with the features of Rails framework, and designed an e-commerce website based on Rails framework..Rails framework can simplify the development process,reduce development effort and improve efficiency of the development site.