> @jobs = Job.find(:all, :conditions => "#{Date.parse(str="#{closing_date}")}
> >= #{Date.today.strftime("%d/%m/%Y")}")
In the above instance, 'closing_date' is a string. I want to ensure that
only instances of Job where the closing date is greater than or equal to
today's date are pulled into an array.
Please can someone rectify this code; I'm not sure where it's going
wrong.
--
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.