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.

Max Lapshin's latest activity

Thursday, May 07 2009
2613 Fix spelling of Kyiv timezone was updated in Ruby on Rails
  • Max Lapshin
    Max Lapshin commented at 10:25 AM

    You should provide some reference to international database of city names, or anyone will change city names as he wish.

Monday, April 27 2009
2547 PostgreSQL adapter: quote_string is not thread safe was updated in Ruby on Rails
  • Max Lapshin
    • Tag changed from activecord, database, escape, escaping, patch, postgres, postgresql to activecord, bug, database, escape, escaping, patch, postgres, postgresql
    by Max Lapshin at 3:33 PM

    +1 This patch works for me, all test passed and it seems to be rather good.

  • Max Lapshin
    • Assigned user set to Tarmo Tänav
    by Max Lapshin at 3:04 PM

    Eugene, where is written, that PGconn.escape is unsafe?

2568 dont remove cgi support + reasons was updated in Ruby on Rails
Thursday, April 23 2009
2492 BUG: Query Cache does not handle multiple calls to find_or_create_by_* was updated in Ruby on Rails
  • Max Lapshin
    Max Lapshin commented at 11:03 AM

    Is it reproduced in 2.3.2?

2507 .count on a named_scope on a has_many association throws error was updated in Ruby on Rails
  • Max Lapshin
    • Tag changed from 2.3.2, :through, active_record, sql to 2.3.2, :through, active_record, duplicate, sql
    by Max Lapshin at 10:55 AM
1211 reset_counter_cache was updated in Ruby on Rails
  • Max Lapshin
    Max Lapshin commented at 10:47 AM

    What for to reset counter to 0? Maybe better is real resetting to exact number of records?

2545 validations based on methods and not actual attributes was updated in Ruby on Rails
  • Max Lapshin
    • Tag set to invalid
    by Max Lapshin at 10:23 AM

    It is ok, because You've defined accessor method yourself.

Monday, April 20 2009
2434 Rails 2.3.2 CGI doesn't work was updated in Ruby on Rails
  • Max Lapshin
    Max Lapshin commented at 9:00 PM

    As far as I know, CGI is really deprecated

2523 Add 'field' attribute to ActiveRecord::Errors#to_xml was updated in Ruby on Rails
  • Max Lapshin
    • Tag changed from 2-3-stable, 3.0, activerecord, active_record, to_xml, xml to 2-3-stable, 3.0, activerecord, active_record, feature, test, to_xml, xml
    by Max Lapshin at 7:25 PM

    I've found this patch rather useful and we've tested it in our RIA, that can now highlight fields.