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.

George Ogata's latest activity

Friday, January 02 2009
1243 Make AS::Multibyte::Chars#slice! behave more like String#slice! was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 3:02 PM

    Nice idea! :)

  • George Ogata
    George Ogata commented at 2:31 PM

    Cool, thanks. Does this mean it'll be merged in?

    There are a few other methods that differ from String. Specifically, some of those bang methods should return n...

Tuesday, October 21 2008
59 When loading a plugin via rubygems, rake tasks aren't included was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 11:55 AM

    @Chad

    Thanks for the explanation, but I think we're on different wavelengths. The point I was trying to make is simply that if evaluating the preinitializer doe...

  • George Ogata
    George Ogata commented at 8:38 AM

    Hmmm, I think I was misunderstanding how you'd use the preinitializer. I took it to mean you'd just require the gems in there, in which case the tasks in questi...

  • George Ogata
    George Ogata commented at 7:40 AM

    I think I like the idea of using preinitializer. Some gems (or at least soap4r) already seem to require you to do something like that or they won't work properl...

1243 Make AS::Multibyte::Chars#slice! behave more like String#slice! was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 1:07 AM

    Currently, doing a slice! on a Multibyte::Chars modifies the string to become equal to the return value:

    >> s = 'こんにちは'.mb_chars
    => #<ActiveSupport::Multibyte:...
Tuesday, September 16 2008
1056 Add descriptions for doc:plugins:<plugin> tasks was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 5:50 AM

    Attached is a one-liner to add descriptions for the doc:plugins: tasks.

Tuesday, July 22 2008
676 Let observers create after_find if they need it was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 10:19 PM

    Ticket #625 removed the line that caused observers to define an after_find method in the model if it didn't exist yet. This caused a speed-up (defining after_...

Wednesday, July 02 2008
59 When loading a plugin via rubygems, rake tasks aren't included was updated in Ruby on Rails
  • George Ogata
    George Ogata commented at 6:01 PM

    What if it was done like generator lookup?

    That is, installed gems could be searched for rails/tasks/* as well.

Monday, June 09 2008
375 Observing after_find broken was created in Ruby on Rails
  • George Ogata
    George Ogata created the ticket at 4:49 AM

    #after_find callbacks defined in an observer aren't being called, due to what looks like a wrong method call. Patch attached.