No 'Date' comparison support ?
Reported by Gaël SECHAUD | April 9th, 2009 @ 06:48 AM
I need to compare dates using ar-extensions, but I can't find anything in that module.
In class ActiveRecord::Extensions::Comparison, the rdoc says that the acceptable comparisons are with format "String", "Numeric", "Time", "DateTime" : Is there a Date comparison support or a workaround ?
Comments and changes to this ticket
-
Simple Jack September 14th, 2020 @ 03:10 AM
I don't think there's a date comparison with that type of format. You should try a different date format and check if it works. I don't know much about the coding but I guess the best solution is to use a different format since the current is not working. Download the most popular game today, the Among Us - take the impostor out. The game is always trending in Twitter and many people are tweeting about it.
https://medium.com/@lynnrivera2020/download-and-play-the-fun-running-surfers-game-ea530314485a
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
ActiveRecord::Extension (aka ar-extensions) is a plugin to extend and
enhance the functionality of ActiveRecord. It starts by adding better
find support for ActiveRecord. It then adds mass data import
capabilities which are highly efficient and lastly it supports to_csv
functionality.
It also introduces a cool concept of creating easily extendable pieces
of ActiveRecord functionality, so developers don't have to understand
ActiveRecord internals or have the fear of breaking ActiveRecord
itself.