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.

Henrik Hodne's latest activity

Thursday, January 29 2009
5 Implement find_or_create_by was updated in Globalize2
  • Henrik Hodne
    Henrik Hodne commented at 5:34 PM

    Here's a patch. I'm sorry I don't know how to make it a "real patch"

    
    # vendor/plugins/globalize2/lib/globalize/model/active_record/translated.rb
    # Around li...
  • Henrik Hodne
    Henrik Hodne created the ticket at 5:12 PM

    I see find_by_x is implemented (like find_by_name), but I would like find_by_x_or_create (or whatever that method is really called).

6 Add locale parameter to setters. was created in Globalize2
  • Henrik Hodne
    Henrik Hodne created the ticket at 5:16 PM

    Adding a locale parameter to the setters could be cool, like @post.title("Hello World", :en), or @post.title(:en => "Hello World"). The latter could make it pos...