mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-26 15:46:47 +09:00
Layer on top a more pleasant API for the default case
This commit is contained in:
1 parent
32be03a240
commit
d3b6507ce2
2 files changed
+5
-1
No files matched your search
@@ -45,6 +45,10 @@ module ActiveRecord
|
||||
end if delegate
|
||||
end
|
||||
end
|
||||
|
||||
def has_settings(schema)
|
||||
has_json settings: schema, delegate: true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user