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.

Eadz's latest activity

Monday, August 09 2010
560 2.1.0/lib/active_support/core_ext/module/introspection.rb:60: [BUG] Segmentat... was updated in Ruby on Rails
  • Eadz
    • Assigned user set to Jeremy Kemper
    • Importance changed from to
    by Eadz at 6:12 AM

    I don't think they fixed it.
    Still an issue in Ruby 1.8.7 (2010-04-19 patchlevel 253)

    /home/eadz/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesup...

Friday, March 12 2010
2837 [PATCH] [BENCHMARK] [RAILS3] image_tag shouldn't bomb on creating an alt attr... was updated in Ruby on Rails
  • Eadz
    Eadz commented at 1:16 AM

    Added proper format patch.

Wednesday, February 24 2010
2837 [PATCH] [BENCHMARK] [RAILS3] image_tag shouldn't bomb on creating an alt attr... was updated in Ruby on Rails
  • Eadz
    • Tag changed from :alt, benchmark, doc, image_tag, nil, rails3 to :alt, benchmark, doc, image_tag, nil, rails3, tiny
    by Eadz at 10:54 AM

    sorry, to_s is redundant too .

    Updated patch is attched.

    The method changes from

    File.basename(src, '.*').split('.').first.to_s.capitalize

    to

    File.basename(src,...

  • Eadz
    • Assigned user set to Yehuda Katz (wycats)
    • Tag changed from :alt, image_tag, nil to :alt, benchmark, doc, image_tag, nil, rails3
    • Title changed from image_tag shouldn't bomb on creating an alt attribute when split returns nil to [PATCH] [BENCHMARK] [RAILS3] image_tag shouldn't bomb on creating an alt attribute when split returns nil or ignore other parts of a filename if it has more than one period
    by Eadz at 10:41 AM

    Hi there,

    I have had a different issue with image_tag. It's bugged me for a while. I've attached a patch that fixes it. I've also included tests and benchmarks,...

Monday, February 08 2010
379 [PATCH] ActiveRecord::Base class_name weirdness was updated in Ruby on Rails
  • Eadz
    • Tag changed from 2.3.0, activerecord, tiny to 2.3.0, 3.0pre, activerecord, cleanup, tiny
    • Title changed from ActiveRecord::Base class_name weirdness to [PATCH] ActiveRecord::Base class_name weirdness
    by Eadz at 1:57 AM

    This bug/feature is still in rails 3.0-pre.

    Loading development environment (Rails 3.0.0.beta)

    Site.class_name => "Site"

    class Site < ActiveRecord::Base set_t...

3893 Gem file requires pg gem for all tests was created in Ruby on Rails
  • Eadz
    Eadz created the ticket at 1:00 AM

    In Gemfile there is the following lines:

    group :test do
    gem "pg", ">= 0.8.0" gem "mysql", ">= 2.8.1" end

    When running rake test_sqlite3 in /activerecord/ I get ...

3892 Remove needless call to initializers was updated in Ruby on Rails
  • Eadz
    Eadz commented at 12:25 AM

    Thankyou for this patch. I have been waiting for this for so long! I hope this can make it into 3.0 :p

Sunday, March 08 2009
379 ActiveRecord::Base class_name weirdness was updated in Ruby on Rails
  • Eadz
    • Tag changed from activerecord, tiny to 2.3.0, activerecord, tiny
    by Eadz at 12:37 AM

    Is this going to be fixed in 2.3?

Friday, June 27 2008
379 ActiveRecord::Base class_name weirdness was updated in Ruby on Rails
  • Eadz
    • Tag set to activerecord, tiny
    by Eadz at 1:09 AM

    In the context of "Turns the +table_name+ back into a class name" what exactly is a "class name" if not the name of the class?

Tuesday, June 10 2008
379 ActiveRecord::Base class_name weirdness was created in Ruby on Rails
  • Eadz
    Eadz created the ticket at 3:51 AM

    class_name should return the class name or be called something else.

    ## Rails IRB Session, Rails 2.1

    class DummyOne < ActiveRecord::Base

    end

    >> DummyOne.cl...