/ruby-mode/Ruby on Rails/Model/model.ho

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · a012b7c91f55c86f1f8c65f48fff860a MD5 · raw file

  1. #name : has_one
  2. #key : ho
  3. #group : rails.model
  4. #condition : (rails/model?)
  5. # --
  6. has_one :${1:model}${2:, :dependent => :destroy}