diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-15 20:20:36 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-15 20:20:36 -0400 |
commit | 255dc42c98e7c3c30e9b5a19af85cf91f0a81e2e (patch) | |
tree | 803f5c5adcfd09012be50380855004d60a8035ec /src/guff.cr | |
parent | 5589dac10cf28c462793079469ec811c8267531c (diff) | |
download | guff-255dc42c98e7c3c30e9b5a19af85cf91f0a81e2e.tar.bz2 guff-255dc42c98e7c3c30e9b5a19af85cf91f0a81e2e.zip |
refactor models/model
Diffstat (limited to 'src/guff.cr')
-rw-r--r-- | src/guff.cr | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/guff.cr b/src/guff.cr index c7e3216..e5eca75 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -9,7 +9,7 @@ module Guff VERSION = "0.1.0" end -require "./guff/*" +require "./guff/**" private macro define_lazy_getters(hash) {% for name, klass in hash %} @@ -47,11 +47,6 @@ end module Guff module Models - abstract class Model - def initialize(@context : Context) - end - end - class PostModel < Model SQL = { add: " |