mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-12 16:34:18 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: hmt
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: has_many (through)
|
||||
## condition: "source.ruby.rails"
|
||||
# --
|
||||
has_many :${1:objects}, :through => :${2:join_association}${3:, :source => :${4:$2_table_foreign_key_to_$1_table}}
|
||||
Reference in New Issue
Block a user