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.

science's latest activity

Saturday, August 30 2008
941 Postgres ActiveRecord adapter merges UTF8 encoding as symbol instead of strin... was updated in Ruby on Rails
  • science
    science commented at 8:27 AM

    Note - from my last comment, it sounds like I'm not sure that the above patch works - it is working for me. What's not clear is that it effectively fixes both t...

  • science
    science commented at 8:25 AM

    There is a related ticket to this one: http://rails.lighthouseapp.com/p...

    In order to fix both problems, I think the following monkey patch does the trick. Ho...

  • science
    science created the ticket at 7:28 AM

    Synopsis: The postgressql-adapter create_datbase function does a reverse_merge on the database options - trying to set a default value of "utf8" - however the i...

940 Databases.rake does not find 'encoding' var correctly was updated in Ruby on Rails
  • science
    science commented at 8:23 AM

    This is a mess. Sorry - to late at night. The code above is for the related ticket: http://rails.lighthouseapp.com/p...

    The correct patch in environment.rb (be...

  • science
    science commented at 8:02 AM

    Oh goodness - lighthouse uses different tags from trac - sorry about that. Here's that code block for environment.rb again:

    
    class ActiveRecord::ConnectionAda...
  • science
    • Tag changed from 2.1, config, database.yml, databases.rake, encoding to 2.1, bug, config, database.yml, databases.rake, encoding
    by science at 8:00 AM

    In case anyone else is running into this, here's a monkey patch which can be included in environment.rb that seems to resolve the problem for now (I basically j...

  • science
    science created the ticket at 6:08 AM

    Synopsis: Specifying 'encoding' value in database.yml does not affect the encoding chosen for creating the test database via databases.rake

    Analysis: Line 46 of...