On 6 August 2011 20:50, Jarek Plonski wrote:
>> Time/date objects have methods like year, month, day etc. which return
>> the individual components
>>
>
> Well I know that but, can you, please, tell how to use those methods in
> my example?
I don't know the format of you params string but you can
> Time/date objects have methods like year, month, day etc. which return
> the individual components
>
Well I know that but, can you, please, tell how to use those methods in
my example?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the G
On Aug 6, 7:20 pm, Jarek Plonski wrote:
> I'm passing hash (called 'params') to a method. Some keys (one of them
> is called 'starts_at') in that hash have date as a value (taken from
> datetime_select helper). I want to access the date elements like date
> only or time only but I'm just out of
3 matches
Mail list logo