README.md in shoden-0.2.0 vs README.md in shoden-0.3.0

- old
+ new

@@ -1,6 +1,6 @@ -# Shôden +# Shôden - [![Gem Version](https://badge.fury.io/rb/shoden.svg)](http://badge.fury.io/rb/shoden) ![Elephant god](http://www.redprintdna.com/wp-content/uploads/2011/09/L-Elephant-Against-Sky.jpg) Shôden is a persistance library on top of Postgres. It is basically an [Ohm](https://github.com/soveran/ohm) clone but using @@ -42,7 +42,19 @@ class Post < Shoden::Model attribute :title attribute :content reference :owner, :User +end +``` + +## Indexing + +```ruby +class User < Shoden::Model + attribute :email + attribute :country + + index :country + unique :email end ```