PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | 2934fa550bce6b3d8d20ed274614a066 MD5 | raw file
  1. #name : change_table
  2. #key : cht
  3. #group : rails.migration
  4. #condition : (rails/migration?)
  5. # --
  6. change_table :${1:`(or (rails/cur-res-title) "table")`} do |t|
  7. $0
  8. end