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.

There was a problem

You must be a member of this account.

Suraj N. Kurapati's latest activity

Wednesday, September 15 2010
1562 ActiveRecord postgresql_adapter: Include time zone in result of quoted_date( ) was updated in Ruby on Rails
Friday, September 10 2010
1562 ActiveRecord postgresql_adapter: Include time zone in result of quoted_date( ) was updated in Ruby on Rails
Wednesday, August 25 2010
5462 cannot pass {:class_name => symbol} in belongs_to in AR 2.3.8 with Ruby 1.9.2 was updated in Ruby on Rails
  • Suraj N. Kurapati
    Suraj N. Kurapati commented at 10:27 PM

    Here is an ugly monkey-patch that makes Ruby 1.9.2 behave like Ruby 1.9.1 with respect to implicit Symbol to String conversion:

    class Symbol
      alias to_str to_...
  • Suraj N. Kurapati
    • Tag changed from active record, 1.9.2, string to active record, ruby 1.9.2, 2.3.8
    by Suraj N. Kurapati at 9:52 PM
  • Suraj N. Kurapati
    Suraj N. Kurapati created the ticket at 9:48 PM

    With Ruby 1.9.2 and ActiveRecord 2.3.8, I get a "TypeError: can't convert Symbol into String" when trying to resolve a belongs_to association, whose :class_name...

Friday, June 05 2009
2283 Unnecessary exception raised in AS::Dependencies.load_missing_constant was updated in Ruby on Rails
  • Suraj N. Kurapati
    Suraj N. Kurapati commented at 10:10 PM

    Thanks for the monkeypatch & workaround! :)

    I wasted two days trying to debug this error because my Rails plugin absolutely must have namespaced models (so that...

Monday, December 22 2008
1562 ActiveRecord postgresql_adapter: Include time zone in result of quoted_date( ) was updated in Ruby on Rails
  • Suraj N. Kurapati
    Suraj N. Kurapati commented at 8:40 PM

    Thanks for considering my patch. I will add the tests and attach a new version of this patch this week.

Wednesday, December 17 2008
1562 ActiveRecord postgresql_adapter: Include time zone in result of quoted_date( ) was updated in Ruby on Rails
  • Suraj N. Kurapati
    • Tag changed from patch to activerecord, patch, postgresql, quoting
    • Title changed from postgresql_adapter: Include time zone in result of quoted_date( ) to ActiveRecord postgresql_adapter: Include time zone in result of quoted_date( )
    by Suraj N. Kurapati at 7:01 PM
Thursday, December 11 2008
1562 postgresql_adapter: Include time zone in result of quoted_date( ) was created in Ruby on Rails
  • Suraj N. Kurapati
    Suraj N. Kurapati created the ticket at 11:05 PM

    When the time zone is not included in a quoted date (which was the case before this patch), we make the assumption that the database server resides in (or is co...