PageRenderTime 27ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

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

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