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.

Caleb Land's latest activity

Thursday, February 03 2011
4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Caleb Land
    Caleb Land commented at 7:00 PM

    Here is the patch rebased to master.

    I ran AR tests against sqlite3, postgresql, and mysql, and everything looks good.

Wednesday, February 02 2011
4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Caleb Land
    • State changed from stale to open
    by Caleb Land at 8:22 PM

    This bug is still present in the master branch of Rails.

    When you try to define an attribute with spaces and other non-valid Ruby identifier characters, an exce...

Thursday, November 18 2010
5999 Route constraints regex with predefined characters classes in square brackets... was created in Ruby on Rails
  • Caleb Land
    Caleb Land created the ticket at 12:04 AM

    I am getting a "No route matches" error when I try to generate a url for this route:

    match 'posts/:token', :to => 'posts#show', :constraints => { :token => /[\...
Wednesday, June 02 2010
4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Caleb Land
    Caleb Land commented at 12:51 AM

    I've added two new patches. One uses eval and one does not.

    I think I prefer the string eval version, to tell you the truth. It seems easier to read.

Tuesday, June 01 2010
4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Caleb Land
    Caleb Land commented at 7:12 PM

    That's a good idea, I'll update the patch without the eval.

Monday, May 31 2010
4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Caleb Land
    Caleb Land commented at 10:38 PM

    This does target a narrow use case, but currently ActiveModel just crashes when you use the name "phone number". I guess you could argue that by crashing you ca...

  • Caleb Land
    • Title changed from [PATCH] Allow attribute names with spaces and other characters to [PATCH] Allow ActiveModel attribute names with spaces and other characters
    by Caleb Land at 8:18 PM
  • Caleb Land
    • Title changed from Allow attribute names with spaces and other characters (PATCH) to [PATCH] Allow attribute names with spaces and other characters
    by Caleb Land at 7:29 PM
Saturday, May 29 2010
4725 Allow attribute names with spaces and other characters (PATCH) was updated in Ruby on Rails
  • Caleb Land
    • Tag set to patch
    by Caleb Land at 8:06 PM
  • Caleb Land
    Caleb Land created the ticket at 6:52 PM

    I'm working on a library that uses ActiveModel and CouchDB and it would be nice for the AttributeMethods plugin in ActiveModel to work with attributes that have...