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.

Stephen Celis's latest activity

Monday, April 20 2009
2528 [PATCH] rails:template Rake task does not expand file paths was created in Ruby on Rails
  • Stephen Celis
    Stephen Celis created the ticket at 5:23 PM

    Inconsistency:

    rails -m ~/template.rb newapp works. rake rails:template LOCATION=~/template.rb does not.

    AppGenerator uses OptionParser, which automatically exp...

Saturday, October 11 2008
1191 Marshal serialized attributes was updated in Ruby on Rails
  • Stephen Celis
    Stephen Celis commented at 7:18 PM

    Let's just close this one out for now.

Wednesday, October 08 2008
1191 Marshal serialized attributes was updated in Ruby on Rails
  • Stephen Celis
    Stephen Celis commented at 6:02 PM

    Frederick Cheung makes some valid points on the list:

    While the option is fair enough, I don't thing all existing apps wouldn't want this turned on "silently":...

  • Stephen Celis
    Stephen Celis commented at 5:52 PM

    I've double-checked, and YAML-serialized attributes will still correctly deserialize.

    I'd be happy to make :marshal an option, but still think that it would be ...

  • Stephen Celis
    Stephen Celis commented at 5:39 PM

    Well, it kinda depends on your definition of breaks, but silently changing what gets written to the database is a little surprising.

    I guess so, though I woul...

  • Stephen Celis
    Stephen Celis commented at 5:37 PM

    Actually, let me double-check the patch. (Nursing a head cold.) I'll update the ticket accordingly.

  • Stephen Celis
    Stephen Celis commented at 5:28 PM

    No, it doesn't break applications because the attribute string is detected and unserialized as YAML or Marshal accordingly.

1 earlier change…
  • Stephen Celis
    Stephen Celis created the ticket at 5:00 PM

    This is a simple patch to use Marshal instead of YAML for attribute serialization. Marshaling is significantly faster (see below), and fixes some YAML load issu...

Saturday, May 10 2008
100 Problem combining single table inheritance and a has_many relation was updated in Ruby on Rails
  • Stephen Celis
    Stephen Celis commented at 2:45 PM

    I don't think this is a bug.

    To use the assignment method, you need to explicitly call "self":

    self.inheritance_column = 'inheritance_type'
    

    Or, use this fr...

94 quote_string don't work with some postgres drivers was updated in Ruby on Rails
  • Stephen Celis
    • Title changed from [FIX] quote_string don't work with some postgres drivers to quote_string don't work with some postgres drivers
    by Stephen Celis at 2:11 PM