README.md in cdq-0.1.5 vs README.md in cdq-0.1.6
- old
+ new
@@ -253,20 +253,20 @@
If you're using CDQ in a brand new project, you'll probably want to use
dedicated model classes for your entities.
familiar-looking and natural syntax for queries and scopes:
```ruby
- class Author < CDQManagedOjbect
+ class Author < CDQManagedObject
end
```
## Named Scopes
You can save up partially-constructed queries for later use using named scopes, even
combining them seamlessly with other queries or other named scopes:
```ruby
- class Author < CDQManagedOjbect
+ class Author < CDQManagedObject
scope :a_authors, where(:name).begins_with('A')
scope :prolific, where(:publish_count).gt(99)
end
Author.prolific.a_authors.limit(5)