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.

Diego Carrion's latest activity

Saturday, September 18 2010
5655 [PATCH] rendering an object as json calls JSON.encode(object) instead of obje... was updated in Ruby on Rails
  • Diego Carrion
    • Title changed from rendering an object as json calls JSON.encode(object) instead of object.to_json to [PATCH] rendering an object as json calls JSON.encode(object) instead of object.to_json
    by Diego Carrion at 4:40 PM
  • Diego Carrion
    Diego Carrion created the ticket at 3:15 PM

    Given I have the following code:

    class User < ActiveRecord::Base
    def to_json(options = {})

    super options.merge :include => :parent
    

    end end

    class UsersControll...

5654 [PATCH] Update session store documentation was created in Ruby on Rails
  • Diego Carrion
    Diego Carrion created the ticket at 2:04 PM

    Hi,

    the instructions on how to change the default session store and generate the migration for the database are old, I did update them in the attached patch.

Wednesday, June 09 2010
3765 Missing shallow routes in new router DSL was updated in Ruby on Rails
  • Diego Carrion
    Diego Carrion commented at 7:11 PM
  • Diego Carrion
    Diego Carrion commented at 6:13 AM

    I made a new patch with support for singleton resources and with some refactors.

Tuesday, June 08 2010
3765 Missing shallow routes in new router DSL was updated in Ruby on Rails
  • Diego Carrion
    Diego Carrion commented at 10:09 PM

    Maybe somebody can add the new tests, make them pass and then refactor.

Tuesday, April 20 2010
4392 [PATCH] Add :touch option to has_one associations was updated in Ruby on Rails
  • Diego Carrion
    • Title changed from [PATCH] Add :touch option to has_many associations to [PATCH] Add :touch option to has_one associations
    by Diego Carrion at 1:14 AM

    As discussed with Michael via the mailing list, the touch option for the has_one association does make sense so Im sending a patch.

    I added also a test covering...

Monday, April 19 2010
3765 Missing shallow routes in new router DSL was updated in Ruby on Rails
  • Diego Carrion
    Diego Carrion commented at 5:35 PM

    Now I understand your point, sorry.

    Btw, if the resource publisher is shallow, I think the named route should be:

    publisher_path

    do you agree with me?

    Anyway, d...

  • Diego Carrion
    Diego Carrion commented at 4:18 PM

    I think the problem doesn't exists because at the end of the scope, the name_prefix and path are restored.

    I think if for this reason the other tests didn't bre...

4392 [PATCH] Add :touch option to has_many associations was updated in Ruby on Rails
  • Diego Carrion
    • Title changed from [PATCH] Add :touch option to has_many and has_one associations to [PATCH] Add :touch option to has_many associations
    by Diego Carrion at 1:50 AM

    Sorry, I forgot the RDoc documenation in the previous patch, added a new one.