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.

Tom Lea's latest activity

Saturday, October 11 2008
1187 binary files are attempted to be pre compiled as erb was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 4:07 PM

    Is there a good reason why you don't put this static content in /public/simplegrey2/original/grey2/din_mittle.swf

    Putting it inside /app/views makes rails deal ...

Monday, October 06 2008
59 When loading a plugin via rubygems, rake tasks aren't included was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 9:41 PM

    Just hit this brick wall myself. Would love to see this get into 2.2, so we can really start running with gemified plugins.

    The latest patch still requires star...

Tuesday, September 16 2008
970 1.5.days.ago != 36.hours.ago was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 9:22 AM

    Gah!

    It seems something I was toying with (and clearly did not have time to get finished) slipped into a commit.

    Updated patch attached to finish what I was toy...

Thursday, September 11 2008
970 1.5.days.ago != 36.hours.ago was updated in Ruby on Rails
  • Tom Lea
    • Tag changed from activesupport, core_ext, patch to activesupport, bug, core_ext, patch
    by Tom Lea at 4:46 PM

    Updated the patch with input from rails-core.

    Deprecated Float#years and Float#months.

Monday, September 08 2008
977 [PATCH] Added optgroups_with_options_for_select helper to form_options_helper... was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 9:57 AM

    1's example is wrong... should be

    
    grouped_options = [
      ['North America',
        ['United States','Canada']],
      ['Europe',
        ['Denmark','Germany','France']]
    ]...
  • Tom Lea
    Tom Lea commented at 9:54 AM

    The two arrays required to be equal length is a bit of a no no for me, how about accepting:

    
    labels = ['North America',]
    groups = [
      ['North America',
        ['...
Thursday, September 04 2008
970 1.5.days.ago != 36.hours.ago was created in Ruby on Rails
  • Tom Lea
    Tom Lea created the ticket at 5:53 PM

    1.5.days.ago != 36.hours.ago in 2.1... this worked in 1.2.3, and was a little surprising when migrating an exiting site.

    I've attached a patch to fix this, by w...

Friday, August 29 2008
871 content_tag_for should behave like content_tag was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 11:33 AM

    Yeah, removed the old one to save confusion...

    added the args.shift.dup.

Tuesday, August 26 2008
871 content_tag_for should behave like content_tag was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 11:14 AM

    Posted updated patch, minor faux pas, modifying arguments in-pace is bad.

Thursday, August 21 2008
798 reverted changes should not be marked as changed was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 10:28 AM

    Example: Unpaid users can only store a maximum of 300 points, others can store more.

    
    MAX_UNPAID_POINTS=300
    user = User.find(session[:user_id])
    user.points += ...