From 0cd7ec957bbfa043e00b134285bc203267094e67 Mon Sep 17 00:00:00 2001 From: Kazuya Takeshima Date: Wed, 10 Jul 2013 00:40:14 +0900 Subject: [PATCH] Add jbuilder generator completion. --- src/_rails | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/_rails b/src/_rails index cfce87d..618f5e3 100644 --- a/src/_rails +++ b/src/_rails @@ -270,6 +270,16 @@ _rails_generate_integration_test() { ': :_guard "^-*" "name"' \ } +_rails_generate_jbuilder() { + local -a generators_options + __rails_setup_generators_options + + _arguments \ + $generators_options \ + ': :_guard "^-*" "name"' \ + '*: :__rails_migration_fields' +} + _rails_generate_mailer() { local -a generators_options __rails_setup_generators_options