README.md in simple_calendar-2.1.0 vs README.md in simple_calendar-2.1.1
- old
+ new
@@ -87,10 +87,10 @@
**If you'd like to use another attribute other than start_time, just
pass it in as the `attribute` option**
```erb
<%= month_calendar(attribute: :starts_at) do |date| %>
- <%= day %>
+ <%= date %>
<% end %>
```
**If you already have a model with a start time attribute called something other than `start_time` or accesses it through a relationship, you can alias the attribute by defining a `start_time` method in the my_model.rb file and not have to specify it separately as in the above example**
```ruby
class MyModel