how to check equality of dates RAILS
I have a set of objects and I want to check on which day they are all
available, I started my controller action, but I'm a bit confused about
how i can check it.
this is the piece of code
def add_object
@object = object.find(params[:id])
@object.availabilities.each do |d|
end
do you have any ideas?
No comments:
Post a Comment