开发者

Ruby/Rails way to enable resource availability on certain dates

What tools should I be exploring in Ruby/Rails to store the dates or 'availability' of a Model object?

For example, say in my Clown Booking Service I want to mark each of my many clowns with its availability (and pricing) for certain times of the day and certain days of the week...including additional anomalies for holidays. 开发者_如何学Go

How best to approach this in Ruby/Rails environment? Any 'magic' gems I should be looking into?


Sounds like you want some ical or a similar date format serialized into a column, see here. There are a bunch of ical libs out there. Probably there is a better appointment format, but I don't know it (yet).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜