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.

Florent2's latest activity

Saturday, May 15 2010
2926 Passing :distinct => true causes an error was updated in Ruby on Rails
  • Florent2
    Florent2 commented at 7:55 PM

    Steve, I am not sure I understand what you say.

    I could make work ":distinct => true" in a count like this (both in Rails 3beta2 and 2.3.5):

    Project.count(:name...

Tuesday, January 12 2010
3096 problem with combined use of touch and autosave options was updated in Ruby on Rails
Tuesday, November 03 2009
3456 starting a translation with an interpolation without quotations provokes error was created in Ruby on Rails
  • Florent2
    Florent2 created the ticket at 8:43 PM

    In a YAML translation file the translation

    time_ago: {{duration}} ago

    provokes an error: "syntax error" raised during the YAML file parsing

    whereas

    time_ago: ag...

Wednesday, August 26 2009
3096 problem with combined use of touch and autosave options was updated in Ruby on Rails
  • Florent2
    Florent2 commented at 6:18 PM

    I've looked in ActiveRecord code and now I think I understand what you mean Jamie.

    :autosave option calls the save method of the loaded association records. In ...

  • Florent2
    Florent2 commented at 5:14 PM

    Jamie I am not sure I understand what you wrote.

    From what I see in my console sequence, calling "user.memberships" does not touch the group, it just loads the ...

Tuesday, August 25 2009
3096 problem with combined use of touch and autosave options was created in Ruby on Rails
  • Florent2
    Florent2 created the ticket at 10:53 PM

    In certain circumstances the combined use of :touch and :autosave options provokes updates in the database of objects that have not changed.

    Here is an example:

    ...