Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jatinder Singh's latest activity

Tuesday, May 04 2010
4515 [PATCH] Add custom root option to AR JSON Serializer was updated in Ruby on Rails
  • Jatinder Singh
    Jatinder Singh commented at 5:40 AM

    Disregard my earlier attachment for Rails 2.3. the correct one is attached below.

Saturday, May 01 2010
4515 [PATCH] Add custom root option to AR JSON Serializer was created in Ruby on Rails
  • Jatinder Singh
    Jatinder Singh created the ticket at 6:39 AM

    In short: I can do following:
    user.to_xml(:root => "app_user" )

    But not following:
    user.to_json(:root => "app_user")

    JSON serializer for AR doesn't allow us to ...

Sunday, January 31 2010
3248 form_for @object generating the wrong url if there is a rollback was updated in Ruby on Rails
  • Jatinder Singh
    Jatinder Singh commented at 9:37 AM

    Well actually it does check for new_record?, checkout following snippet from rails/actionpack/lib/action_view/helpers/form_helper.rb

    @@@ html_options =

          i...
Wednesday, January 27 2010
1956 [PATCH] json validations errors for ActiveResource was updated in Ruby on Rails
  • Jatinder Singh
    Jatinder Singh commented at 11:44 PM

    Alright I've attached patches for master and 2-3-stable, with tests.

Tuesday, October 27 2009
1956 [PATCH] json validations errors for ActiveResource was updated in Ruby on Rails
  • Jatinder Singh
    Jatinder Singh commented at 7:09 AM

    To avoid the problem faced by Gabe, the solution is to verify the format of ARes rather than Content-Type header for the remote errors.

    I've attached patches fo...

Friday, August 14 2009
3051 ActiveResource#load test fails on 64 bit machines was updated in Ruby on Rails
  • Jatinder Singh
    • Tag changed from active_resource, ci, tests to active_resource, ci, patch, tests
    by Jatinder Singh at 11:55 PM
  • Jatinder Singh
    • Assigned user set to Pratik
    by Jatinder Singh at 1:23 PM
  • Jatinder Singh
    • Assigned user cleared.
    • Tag changed from active_resource, tests to active_resource, ci, tests
    by Jatinder Singh at 1:20 PM
  • Jatinder Singh
    Jatinder Singh commented at 1:16 PM

    Formatting screwed up. trying again.

    @@

    [CruiseControl] Building ActiveResource /usr/local/bin/ruby -w -Ilib:/home/ci/.cruise/projects/rails/work/activeresource...