Skip to content

Commit

Permalink
Fixed docs typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
waissbluth committed Feb 22, 2015
1 parent 61ee642 commit 94cad4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Create a Histogram object using the following parameters:

1. ActiveRecord Relation (query) to use.
2. Name of column to count frequency of. Also allows for aliased queries such as `'price*discount as final_price'` to create histograms on expressions.
3. Options hash (optional). Not all combinations are allowed. For example, if `:buckets` is specified, `:min` and `:max` are required and `:bucket_size` is ignonored, and calculated. If `:buckets` is not specified, the number of buckets depends on `:bucket_size`.
3. Options hash (optional). Not all combinations are allowed. For example, if `:buckets` is specified, `:min` and `:max` are required and `:bucket_size` is ignored, and calculated. If `:buckets` is not specified, the number of buckets depends on `:bucket_size`, and `:min` and `:max` are optional.
- `:buckets`: number of buckets (integer)
- `:min` and `:max`: See [width_bucket](http://www.postgresql.org/docs/9.3/static/functions-math.html)'s docs for exact meaning (defaults to the min and max values of the column).
- `:bucket_size`: Width of each bucket (defaults to 1).
Expand Down

0 comments on commit 94cad4d

Please sign in to comment.