Permalink
Browse files

Version bump to 1.3.0

  • Loading branch information...
1 parent aff6b85 commit 8c47ec7b13c2e94b1dbdf062e6241219c8f19898 Bantik committed Feb 25, 2013
Showing with 9 additions and 1 deletion.
  1. +1 −1 VERSION
  2. +8 −0 lib/faceted/presenter.rb
View
@@ -1 +1 @@
-1.2.3
+1.3.0
View
@@ -32,6 +32,14 @@ def presents(name, args={})
end
end
+ def all
+ materialize(klass.all)
+ end
+
+ def find(id)
+ materialize(klass.where(id: id).first)
+ end
+
def where(args)
if klass.respond_to? :fields
if klass.fields.respond_to?(:keys)

0 comments on commit 8c47ec7

Please sign in to comment.