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

http://github.com/ridgetang/snippets · Unknown · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 8601c4d27ce576ed4da0b4b7a3ba2f74 MD5 · raw file

  1. #name : create_table
  2. #key : cre
  3. #group : rails.migration
  4. #condition : (rails/migration?)
  5. # --
  6. create_table :${1:`(or (rails/cur-res-title) "table")`} do |t|
  7. $0
  8. end