PageRenderTime 424ms CodeModel.GetById 141ms app.highlight 0ms RepoModel.GetById 282ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 455f703091f2d6fc7747e09f3a79fa4c MD5 | raw file
1#name : add_index :unique => true
2#key : aiu
3#group : rails.migration
4#condition : (rails/migration?)
5# --
6add_index :${1:`(or (rails/cur-res-title) "table")`}, [:${2:column}], :unique => true