[Rails] Re: to_json problem (Rails2.2.2)

2009-02-23 Thread David Nugent
On 23/02/2009, at 7:02 PM, 浩翔 wrote: > > Hi all, > >i got a record from my project server side database, like this : > >@user = User.find 1 > then i cover @user to json format: >@user.to_json > > the result : > "created_at": "2009-01-28T12:29:32Z" > > what's th

[Rails] Re: Strange error when running rails 2.3 on ruby 1.9.1 on FreeBSD

2009-02-23 Thread David Nugent
On 23/02/2009, at 8:04 AM, Grzesiu wrote: > Hi Conrad, > I am just starting my adventure with rails, so I am trying to start > with the most recent versions of ruby and rails to not have to upgrade > and struggle later, when it will be the time to deploy the app. My suggestion, taken from many