Commit 7d8f70f1 by miyucy

move

parent 93a9bb5a
module AnnotateModels module AnnotateModels
class << self
# Annotate Models plugin use this header # Annotate Models plugin use this header
COMPAT_PREFIX = "== Schema Info" COMPAT_PREFIX = "== Schema Info"
PREFIX = "== Schema Information" PREFIX = "== Schema Information"
...@@ -23,6 +22,7 @@ module AnnotateModels ...@@ -23,6 +22,7 @@ module AnnotateModels
# Example: show "integer" instead of "integer(4)" # Example: show "integer" instead of "integer(4)"
NO_LIMIT_COL_TYPES = ["integer", "boolean"] NO_LIMIT_COL_TYPES = ["integer", "boolean"]
class << self
def model_dir def model_dir
@model_dir || "app/models" @model_dir || "app/models"
end 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