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.

Ben Marini's latest activity

Sunday, January 17 2010
3388 ActiveRecord splits log records across multiple lines was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 9:35 PM

    You can solve the ANSI control characters issue with config.colorize_logging = false.

    As for the multiline SQL, I would almost say it's an easy fix in ActiveRec...

3720 Failures in uniqueness_validation_test for ActiveRecord was updated in Ruby on Rails
Friday, December 04 2009
3286 [PATCH] Add support for Mysql column positioning to migrations was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 10:32 PM

    Thanks for approving the patch Jeremy!

    I find it valuable to have my columns organized, just like any other parts of my code. It's nice when I'm scanning the co...

  • Ben Marini
    Ben Marini commented at 5:28 AM

    Patch should apply cleanly still. Please test it out and give it a +1 if you like it, or feedback if you don't. I'm still motivated to get this patch accepted.

Monday, October 19 2009
3390 Singular form problem was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 2:21 AM

    This is an inflection issue that can be solved by putting the following in config/initializers/inflections.rb:

    ActiveSupport::Inflector.inflections do |inflect...
Friday, October 16 2009
2580 Urgent: Session drops in rails 2.3.2 was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 6:21 AM

    Also remember that memcached is not a reliable session store as it removes old data when it runs out of space. From wikipedia:

    "Memcached's APIs provides a gian...

Wednesday, October 14 2009
3370 config.gem in environment.rb to allow no-rdoc and no-ri options was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 4:12 AM

    Hmm...I guess it depends on how you look at it. If you are setting up several Rails apps on the same server, it's a different story. I suppose it might be nice ...

Tuesday, October 13 2009
3371 Duplicate attr_accessor :gems in Rails::Configuration was created in Ruby on Rails
  • Ben Marini
    Ben Marini created the ticket at 4:35 AM

    This is a pretty silly patch, but I did it anyways to practice. I was looking through Rails::Configuration in the master branch and noticed that ":gems" was def...

3370 config.gem in environment.rb to allow no-rdoc and no-ri options was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 4:15 AM

    There's a pretty easy way to solve this problem via a ~/.gemrc or /etc/gemrc file.

    Output from "gem help env":

    The RubyGems environment can be controlled throu...
Sunday, October 04 2009
3321 Consider changing Orchestra name was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 9:19 PM

    I have two suggestions:

    1. ActiveSupport::Instruments
      I agree with mislav, but Instrumentation is so long. Instruments seems like a nice compromise.

    2. ActiveInst...