Thanks all. I will replace 7 with everyday and 0 for sunday.
And Rick thanks for the active record code. That's exactly what I was
looking for.
Cheers,
S Gallo
On Wed, Feb 24, 2010 at 8:14 AM, Rick DeNatale wrote:
> On Tue, Feb 23, 2010 at 4:33 PM, sgallo1 wrote:
>> Wondering what would be th
On Tue, Feb 23, 2010 at 4:33 PM, sgallo1 wrote:
> Wondering what would be the best way to implement this.
>
> I need to store that an item occurs on a specific day of the week or
> everyday.
> Say in the model we have a title and a day of week.
> I was thinking doing a 0-7 in my model for the item
On 23 February 2010 21:33, sgallo1 wrote:
> Wondering what would be the best way to implement this.
>
> I need to store that an item occurs on a specific day of the week or
> everyday.
> Say in the model we have a title and a day of week.
> I was thinking doing a 0-7 in my model for the item repre
Wondering what would be the best way to implement this.
I need to store that an item occurs on a specific day of the week or
everyday.
Say in the model we have a title and a day of week.
I was thinking doing a 0-7 in my model for the item representing the
day of the week with zero being everyday.
4 matches
Mail list logo