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.

Nicholas Faiz's latest activity

Wednesday, February 11 2009
1925 Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT... was updated in Ruby on Rails
1934 uninitialized constant Merb (NameError) was updated in Ruby on Rails
  • Nicholas Faiz
    Nicholas Faiz commented at 12:00 AM

    Apologies for the poorly formatted stacktrace above. Here's a better version:

    Given I login as cm # features/step_definitions/webrat_steps.rb:131  uninitialize...
Tuesday, February 10 2009
1934 uninitialized constant Merb (NameError) was created in Ruby on Rails
  • Nicholas Faiz
    Nicholas Faiz created the ticket at 11:49 PM

    This is a bit of a mixed ticket - about a dependency on Merb in 2.3 rc 1 and a namespace error for Row in the csv lib and something else.

    Running cucumber webra...

1925 Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT... was updated in Ruby on Rails
  • Nicholas Faiz
    Nicholas Faiz commented at 10:49 PM

    Unfortunately yesterday was also the day I chose to clean up my huge log files.

    If you can't replicate it in your environment, let me know and I'll restore the ...

  • Nicholas Faiz
    Nicholas Faiz commented at 12:36 AM

    Sorry, a bit more information for ths ticket.

    It seems to be happening on AR exectute statements calls to TRUNCATE:

    e.g.

    
    
    
    ActiveRecord::Base.connection.exec...
  • Nicholas Faiz
    Nicholas Faiz created the ticket at 12:26 AM

    Hi,

    I'm upgrading a Rails 2.1.1 app to 2.3 rc1 and encountering this quite a bit in my specs.

    Trying to workaround it now, but thought I'd point it out. I'm sur...

1926 interning empty string was updated in Ruby on Rails
  • Nicholas Faiz
    Nicholas Faiz commented at 1:23 AM

    Sorry, this was on 2.3 rc1

  • Nicholas Faiz
    Nicholas Faiz commented at 1:21 AM

    Here's a workaround:

            errors.add(msg, "invalid")
    

    The normalize_transaction_keys in i18n.rb wasn't protecting itself from nils. Adding a nil check in st...

  • Nicholas Faiz
    Nicholas Faiz commented at 1:05 AM

    Provoking the error from a debugger breakpoint:

    ArgumentError: interning empty string
            from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/ac...
  • Nicholas Faiz
    Nicholas Faiz created the ticket at 12:59 AM

    Hi,

    I've been seeing frequent errors in my AR validations about interning empty strings, particularly when building a string to add to the errors array.

    For exa...