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.

garrett's latest activity

Wednesday, April 21 2010
4447 Column.simplified_type defaults was updated in Ruby on Rails
  • garrett
    garrett commented at 9:26 AM

    diff of the change I'm proposing above

  • garrett
    garrett created the ticket at 9:07 AM

    Hi all

    This relates over to ticket #4270 where I've submitted a small patch to correct behavior on PostGIS for two additional column types. (geometry and geogra...

4270 Arel 0.3.2 broke non-standard column types was updated in Ruby on Rails
  • garrett
    garrett commented at 3:06 AM

    here's a patch that should work

  • garrett
    garrett commented at 2:46 AM

    I'm getting this error now also. Trying to save PostGIS geometry types back to the database. String would be the correct way to handle these columns as they get...

Monday, April 12 2010
4334 to_param and <resource>_path() escapes forward slashes was updated in Ruby on Rails
  • garrett
    garrett commented at 1:16 PM

    Hi Andrew

    I agree completely that in the current mechanism its a bit difficult. It's probably workable with a more sophisticated regex match.

  • garrett
    garrett commented at 12:36 PM

    It's a good question Nathaniel and I'm glad to give you my own personal case.

    Basically take any hierarchical model (in my case a set of Areas or Regions) where...

Saturday, April 10 2010
4334 to_param and <resource>_path() escapes forward slashes was updated in Ruby on Rails
  • garrett
    garrett commented at 2:39 PM

    Hi Jose

    That makes sense alright. But there's no way to disable the escape. The escape on url_for() doesn't seem to work either.

    Thanks
    Garrett

Tuesday, April 06 2010
4334 to_param and <resource>_path() escapes forward slashes was updated in Ruby on Rails
  • garrett
    garrett commented at 4:45 PM

    I should have mentioned this is in Rails 3.0 beta 2

  • garrett
    garrett created the ticket at 4:45 PM

    I've got a problem where I have a model with a to_param method. The to_param returns a string which contains forward slashes such as 'foo/bar'

    when the model in...