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.

Jérémy Lecour's latest activity

Monday, March 21 2011
6200 I18n railtie is initialized after other initializers, config.i18n.default_loc... was updated in Ruby on Rails
Monday, December 20 2010
6200 I18n railtie is initialized after other initializers, config.i18n.default_loc... was created in Ruby on Rails
  • Jérémy Lecour
    Jérémy Lecour created the ticket at 10:24 PM

    I'm using RailsAdmin and I've found something strange.

    If I use an initializer that is doing some setup for RailsAdmin, the default_locale of the Rails app is s...

Friday, November 12 2010
5962 Model.original_table_name restores the original table name without any clue was created in Ruby on Rails
  • Jérémy Lecour
    Jérémy Lecour created the ticket at 6:43 PM

    Hi,

    I was looking for a way to know what should be the table name for a model (inherited from AR::Base) and I've found the method original_table_name.

    I've look...

Tuesday, September 07 2010
5424 Merging "order" clauses from default_scope and regular scope was updated in Ruby on Rails
Monday, August 23 2010
5424 Merging "order" clauses from default_scope and regular scope was updated in Ruby on Rails
  • Jérémy Lecour
    Jérémy Lecour commented at 5:24 PM

    I may be way out of my league here, but isn't it just a matter of when the default_scope's "order" is applied ?

  • Jérémy Lecour
    Jérémy Lecour commented at 8:42 AM

    Here is my patch. I contains only a failing case. I'll try later to make it pass, but I'm not sure I'll have the time in the next few days.

Sunday, August 22 2010
5424 Merging "order" clauses from default_scope and regular scope was updated in Ruby on Rails
  • Jérémy Lecour
    Jérémy Lecour commented at 12:24 AM

    I've found where I have to make the tests.

    Basically, I've duplicated the DeveloperOrderedBySalary model and changed the syntax for the order clauses (in the de...

  • Jérémy Lecour
    Jérémy Lecour commented at 12:01 AM

    Hi,

    I'd like to help by writing some failing tests, but I don't really know what I have to test.
    If I knew what is the expected behavior, it'd be easier.

    I've (...