PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Migration/migration.ac

http://github.com/ridgetang/snippets
m4 | 6 lines | 1 code | 0 blank | 5 comment | 0 complexity | e45dedb0fb32869e2e8aa9d80fb91e30 MD5 | raw file
1#name : add_column
2#key : ac
3#group : rails.migration
4#condition : (rails/migration?)
5# --
6add_column :${1:`(or (rails/cur-res-title) "table")`}, :${2:column}, :${3:integer}