From 94cad4d3ae2fe0d88fe61d668e4d0281c60e27dd Mon Sep 17 00:00:00 2001 From: Nicolas Waissbluth Date: Sat, 21 Feb 2015 21:08:49 -0300 Subject: [PATCH] Fixed docs typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 127274e..28551df 100644 --- a/README.md +++ b/README.md @@ -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).