welsonla's blog

分类 · ruby

首页

关于

归档

Rails code snippets

(摘录来自: persie. “Ruby on Rails 教程”) short keyg generate d destory s server 脚手架以及一些常用的变量类型rails g scaffold user name:string age:int email:string description:text cash:float 删除脚手架生成的代码rails d scaffold Users 生成Controller与actionrails g controller TodoList list delete index 删除Controllerrails d controller TodoList list delete index 生成Modelrails g model..

更多