lib/synchronisable/dsl/associations/has_one.rb in synchronisable-0.0.9 vs lib/synchronisable/dsl/associations/has_one.rb in synchronisable-1.0.0
- old
+ new
@@ -4,9 +4,13 @@
module DSL
module Associations
# `has_one` association builder.
class HasOne < Association
key_suffix 'id'
+
+ def macro
+ :has_one
+ end
end
end
end
end