lib/graphiti/adapters/null.rb in graphiti-1.0.beta.17 vs lib/graphiti/adapters/null.rb in graphiti-1.0.beta.18

- old
+ new

@@ -179,11 +179,11 @@ def filter_boolean_eq(scope, attribute, value) scope end def base_scope(model) - raise 'Null adapter has no base scope!' + {} end # (see Adapters::Abstract#order) def order(scope, attribute, direction) scope @@ -228,9 +228,13 @@ end # (see Adapters::Abstract#resolve) def resolve(scope) scope + end + + def save(model) + model end end end end