Thanks for the replies, beginning_of_day makes a lot more sense.
Yes Colin that's what's happening, I'd just like to know where exactly the string goes from "dd/mm/yyyy" to being "yyyy-mm-dd hh:mm:ss timezone offset" and if there's anyway for me to control/over ride that behaviour. Marnen, You're right what we're doing right now isn't good and we're creating technical debt. As a team we've discussed this and given the current requirements and priorities/time we have left, we've decided to do it this way. Also I wouldn't have asked how to see the rails/ruby code if I knew how. I'm coming from java land and before that c++ where I'm used to having to grab the sources for libraries before being able to debug them or read them. The source seems to be scattered about in different gems on my machine, I found doing a "git clone git://github.com/rails/rails.git v2.3.8" was handier to have everything in one place. Any suggestions on where to start looking for how rails accepts a post request and builds the params object and sends it to the correct controller? Thanks again for all the help Barry On Oct 14, 5:15 pm, Marnen Laibow-Koser <[email protected]> wrote: > voidstar wrote in post #950166: > > > I need a date/time object due to domain requirements although at this > > point I don't care about the time object, > > Huh? Design for what you have now, not what you might need in future. > > [...] > > > Where do I have the rails source? > > Do you really need to ask? Remember, Ruby is an interpreted language. > That means that you've got the source wherever the Rails gem is > installed (in vendor/rails if you've done that, or wherever "gem which > rails" tells you). > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > > -- > Posted viahttp://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

