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

Monday, September 28 2009
3286 [PATCH] Add support for Mysql column positioning to migrations was updated in Ruby on Rails
  • Ben Marini
    • Tag changed from active_record, add_column, master, migrations, mysql, patch to 2-3-stable, active_record, add_column, master, migrations, mysql, patch
    by Ben Marini at 3:27 AM
  • Ben Marini
    Ben Marini created the ticket at 1:06 AM

    This patch allows some extra options to be passed for #add_column and #change_column

    From the mysql docs for alter table (http://dev.mysql.com/doc/refman/5.1/en...

Sunday, September 27 2009
3203 select helper breaks for numerical values and displays was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 12:23 AM

    Whoops let me try that again...

    << However if my_instance.method returns 2, the options with value, "2", does not get selected.

    @sam to clarify, does my_instanc...

  • Ben Marini
    Ben Marini commented at 12:21 AM

    However if my_instance.method returns 2, the options with value, "2", does not get selected. @sam to clarify, does my_instance.method return a String or a Fix...

Saturday, September 26 2009
2969 [Patch] Added Global expires_in for cache_store was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 11:27 PM

    -1 on implementation. After some thought, I don't think this fits with the current cache setting api, or belongs in activesupport.

    Currently, the api is:
    config...

Friday, July 11 2008
520 view_paths does not work with actions or partials was updated in Ruby on Rails
  • Ben Marini
    Ben Marini commented at 7:27 PM

    Whoops, didn't like my formatting:

    class ViewPathsTestController < ApplicationController
      # Doesn't work when using block form!
      before_filter :override_v...
  • Ben Marini
    Ben Marini commented at 7:24 PM

    I tested out your code in Rails 2.1 and had the same result.

    A couple problems with your test though:

    prepend_view_path adds a new base path, so you would ne...