Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: NILID
my error when I'm trying to get total_votes:
PGError: ERROR: relation "album_votes" does not exist
I found solution, it's simply:
<% calendar_for @articles, :year => @date.year, :month => @date.month, :first_day_of_week => 1 do |calendar| %>
thanks to all
How to sort days in calendar table such as <%= calendar.head('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday')%> with correct order of day? I want to make Monday the first day of the week.
please help me!