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.

There was a problem

You must be a member of this account.

phs's latest activity

Monday, July 12 2010
5097 attributeless find_or_initializer was updated in Ruby on Rails
  • phs
    • Tag changed from activerecord, dynamic_finders, find_or_create to activerecord, dynamic_finders, find_or_create, patch
    by phs at 5:17 PM
  • phs
    phs created the ticket at 5:13 PM

    I use a lot of named scopes and found myself wanting to use find_or_create_by_XXX without any refining XXX attributes (they had all been built up in the scope c...

Thursday, June 24 2010
4400 [PATCH] Avoid app_const when drawing routes in app generator was updated in Ruby on Rails
  • phs
    phs commented at 8:31 PM

    Cool! Incidentally I'd love to be involved in that.

  • phs
    phs commented at 8:19 PM

    That's a reasonable stance.

    As a related question, suppose the engine author wants to run her engine as a standalone app (i.e. by using a config/application.rb ...

Thursday, May 13 2010
4585 to_xml generates invalid xml with namespaced ActiveRecord redux was updated in Ruby on Rails
  • phs
    phs commented at 4:28 AM

    False alarm, then. Sorry, my bad (close this as stale whenever)

Wednesday, May 12 2010
4585 to_xml generates invalid xml with namespaced ActiveRecord redux was updated in Ruby on Rails
  • phs
    phs commented at 10:13 PM
  • phs
    • Title changed from to_xml generates invalid xml with namespaced ActiveRecord to to_xml generates invalid xml with namespaced ActiveRecord redux
    by phs at 10:13 PM
  • phs
    phs commented at 10:06 PM

    Interestingly, the problem disappears when serializing just one instance:

    >> Wheelie-Cyberman:~/code/accounts $ rails c
    Loading development environment (Rails ...
  • phs
    phs created the ticket at 10:02 PM

    It appears 3.0.0.beta2 regresses #2723:

    >> Wheelie-Cyberman:~/code/accounts $ rails c
    Loading development environment (Rails 3.0.0.beta2)
    >> print Accounts::Us...
Monday, May 10 2010
4571 application template does not understand https urls. was created in Ruby on Rails
  • phs
    phs created the ticket at 6:23 PM
    Wheelie-Cyberman:~/code $ rails core -m https://github.com/some/private/raw/master/template.rb
          create  
          create  README
          ...
          create  vend...