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.

Chris Griego's latest activity

Monday, March 14 2011
6571 Adding around_(save|update|create|destroy) to an ActiveRecord::Observer cause... was created in Ruby on Rails
  • Chris Griego
    Chris Griego created the ticket at 5:20 AM

    If you define around_save, around_update, around_create, or around_destroy on an ActiveRecord::Observer, then any observed classes' save, update, create, and de...

Thursday, July 08 2010
4979 ActiveModel has undeclared dependency on tzinfo was updated in Ruby on Rails
  • Chris Griego
    Chris Griego commented at 7:59 PM

    Both ActiveModel and ActiveResource seem to work great now. Thanks Santiago!

Friday, July 02 2010
4979 ActiveModel has undeclared dependency on tzinfo was updated in Ruby on Rails
  • Chris Griego
    Chris Griego commented at 3:43 AM

    I appreciate the effort!

    ActiveModel::Serializers::Xml has a similar issue. The good news is that I beefed up how I was iterating over the constants and I also ...

Sunday, June 27 2010
4979 ActiveModel has undeclared dependency on tzinfo was updated in Ruby on Rails
  • Chris Griego
    Chris Griego commented at 6:39 AM

    Same bug, different spot. ActiveModel::Serializers::JSON, which you can argue is an optional part of ActiveModel but in that case it is a dependency of ActiveRe...

Saturday, June 26 2010
4875 OrderedHash#invert returns an unordered hash was updated in Ruby on Rails
  • Chris Griego
    Chris Griego commented at 4:57 PM

    I was using cherry-pick. I just tried chaitanyav's patch file and that applied cleanly as well for me.

  • Chris Griego
    Chris Griego commented at 4:00 PM

    Thanks chaitanyav for the patch!

    José Valim, the three commits also apply cleanly to the 2-3-stable branch with passing tests. Would you backport them?

  • Chris Griego
    Chris Griego commented at 6:40 AM

    Hashes in Ruby 1.9 are ordered by default and ActiveSupport::OrderedHash simply inherits its ordered behavior from Hash when the Ruby version is >= 1.9. ActiveS...

4979 ActiveModel has undeclared dependency on tzinfo was created in Ruby on Rails
  • Chris Griego
    Chris Griego created the ticket at 5:32 AM

    Steps to recreate:

    $ echo "gem 'activemodel', :require => 'active_model', :git => 'git://github.com/rails/rails.git'" > Gemfile
    $ bundle install && bundle cons...
Saturday, June 19 2010
4905 Application generator creates files with trailing whitespace was created in Ruby on Rails
  • Chris Griego
    Chris Griego created the ticket at 7:22 AM

    The Rails 3 application generator generates a handful of files that include trailing whitespace. Trailing whitespace is considered an error condition to git. He...

Wednesday, June 16 2010
4875 OrderedHash#invert returns an unordered hash was created in Ruby on Rails
  • Chris Griego
    Chris Griego created the ticket at 8:36 PM

    ActiveSupport::OrderedHash#invert will return an hash of indeterminate order, which is inconsistent with Ruby 1.9.

    >> a = {"foo" => "FOO", "bar" => "BAR", "baz...