Commit 3f85ded7 by Cuong Tran

Merge pull request #284 from kamilbielawski/develop

Make --w option work
parents 9cf6e0d0 1b667dd2
......@@ -29,7 +29,7 @@ module Annotate
:timestamp, :exclude_serializers, :classified_sort, :show_foreign_keys,
]
OTHER_OPTIONS=[
:ignore_columns, :skip_on_db_migrate, :wrapper_open, :wrapper_close
:ignore_columns, :skip_on_db_migrate, :wrapper_open, :wrapper_close, :wrapper
]
PATH_OPTIONS=[
:require, :model_dir
......@@ -75,6 +75,9 @@ module Annotate
options[:model_dir] = ['app/models']
end
options[:wrapper_open] ||= options[:wrapper]
options[:wrapper_close] ||= options[:wrapper]
return options
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment