What am I missing here, trying to get the event_calendar plugin working
with my existing app. Have installed the plugin, which I guess is a good
start, then this...
Mysql::Error: Unknown column 'end_at' in 'where clause': SELECT * FROM
`bookings` WHERE (('2010-10-30 23:00:00' <= end_at) AND (start_at<
'2010-12-05 00:00:00')) ORDER BY start_at ASC
Which suggests the plugin is working it just doesn't like my customised
start and end syntax?
def event_calendar
# args is an argument hash containing :event, :day, and :options
calendar event_calendar_opts do |args|
event = args[:event]
%(<a href="/events/#{event.id}"
title="#{h(event.name)}">#{h(event.name)}</a>)
end
end
end