README.markdown in by_star-0.7.1 vs README.markdown in by_star-0.7.2
- old
+ new
@@ -389,13 +389,19 @@
## Not using created_at? No worries!
If your database uses something other than `created_at` for storing a timestamp, you can specify the field option like this:
Post.by_month("January", :field => :something_else)
-
+
All methods support this extra option.
+
+Or if you're doing it all the time on your model, then it's best to use `by_star_field` at the top of your model:
+ class Post < ActiveRecord::Base
+ by_star_field :something_else
+ end
+
## Ordering records
To order the returned set of records you may specify an `:order` option which works the same was as a standard AR `:order` option:
Item.by_month(1, :order => "position DESC")
@@ -413,9 +419,10 @@
* August Lilleas (leethal)
* gte351s
* Thomase Sinclair (anathematic)
* Sam Elliott (lenaryg)
* The dude(s) & gal(s) who created Chronic
+* Erik Fonselius
## Suggestions?
If you have suggestions, please contact me at radarlistener@gmail.com
\ No newline at end of file