here is the error:

PGError: ERROR:  function curdate() does not exist
LINE 1: ...nouncements" WHERE (active = 't' and expires_on > CURDATE
())...
                                                             ^
HINT:  No function matches the given name and argument types. You may
need to add explicit type casts.
: SELECT count(*) AS count_all FROM "announcements" WHERE (active =
't' and expires_on > CURDATE())  LIMIT 2

Extracted source (around line #3):

1: <p class="supertiny">&nbsp;</p>
2:
3: <% if @announcements.empty? %>
4:   <p>There are no new announcements.</p>
5: <% else %>
6:

the model contains the function curdate, it doesn't recognize it for
some reason.....


On Dec 24, 8:05 pm, mikong <[email protected]> wrote:
> Can you advise where you are running this and the command you are
> running?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to