PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | e67bd3513fc9df54f4ec589772ba38a2 MD5 | raw file
1#name : rename_column
2#key : renc
3#group : rails.migration
4#condition : (rails/migration?)
5# --
6rename_column :${1:`(or (rails/cur-res-title) "table")`}, :${2:old_name}, :${3:new_name}