RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mullaney
If your calendar isn't showing up, make sure you use <%= calendar instead of <% calendar
<%= calendar
<% calendar
<div id="articles"> <%= calendar do |date| %> <%= date.day %> <% end %> </div>
If your calendar isn't showing up, make sure you use
<%= calendarinstead of<% calendar<div id="articles"><%= calendar do |date| %>
<%= date.day %>
<% end %>
</div>