On 6 August 2011 22:57, Jarek Plonski <li...@ruby-forum.com> wrote: >> Well, you lied. You didn't have a Date, you had a String. > > I'm not saying that I know what I'm talking about :) > > I'm newbie but I didn't lie. > > What I said was: > "...date as a value (taken from > datetime_select helper)" > > if it was a String then datetime_select returns a string, or Dates are > Strings but with some order. > > I'm getting confused now.
I think values in params hash are always strings as they are just the strings taken from the http request. As you said, you never said that you had a Date object. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.