Hi,
I am using a MySQL database and have a row callsed date in my fixtures
table. I am wanting to display fixtures coming up, i.e. ahead of todays
date.
In my controller I am thinking of doing;
@fixtures = Fixtures.find(:all, :conditions => "date > #{Date.today} ",
:order => "id DESC")
Do dates work this way, is this the correct way to go about it?
Also, are there any forum systems built with Ruby on Rails that I can
download for use on my site?
Thanks in advance, Rob
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---