Skip to content

Commit

Permalink
Words
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Jun 20, 2012
1 parent 6a7f50d commit d819d65
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
== 0.2.0

* Normalise :id in find conditions [Tim Galeckas]

== 0.1.0

* Add #destroy(object) to the API [Fred Wu]
Expand Down
5 changes: 5 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ Provides a single point of entry for popular ruby ORMs. Its target audience is
user_model = User.to_adapter
user_model.get!(1) # find a record by id
user_model.find_first(:name => 'fred') # find first fred
user_model.find_first(:level => 'awesome', :id => 23)
# find user 23, only if it's level is awesome
user_model.find_all(:name => 'fred') # find all freds
user_model.find_all(:order => :name) # find all freds, ordered by name
user_model.create!(:name => 'fred') # create a fred
user_model.destroy(object) # destroy the user object


@see OrmAdapter::Base for more details of the supported API

Expand Down Expand Up @@ -56,6 +60,7 @@ orm_adapter is an extraction from {pickle}[http://github.com/ianwhite/pickle] by

{Fred Wu}[http://github.com/fredwu] contributes the #destroy methods.

{Tim Galeckas}[http://github.com/timgaleckas]

== Development

Expand Down

0 comments on commit d819d65

Please sign in to comment.