Sha256: 90663a7f87b17000318fa1b19e8702a436eba43eeaa2e2f45cd47088f5acf9cd
Contents?: true
Size: 309 Bytes
Versions: 42
Compression:
Stored size: 309 Bytes
Contents
module HttpUtilities module Generators module OrmHelpers def model_exists?(model) File.exists?(File.join(destination_root, model_path(model))) end def model_path(model) @model_path ||= File.join("app", "models", "#{model}.rb") end end end end
Version data entries
42 entries across 42 versions & 1 rubygems