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.

Rob Aldred's latest activity

Monday, August 10 2009
2943 drop_table to support temporary option like create_table was updated in Ruby on Rails
  • Rob Aldred
    • Tag changed from activerecord, sql, testing to activerecord, sql, testing
    by Rob Aldred at 10:30 AM

    Thanks for your comments, if i get some time, ill patch the mysql adapter and write some tests,
    seems there's not much of a call for this so no rush.

Friday, August 07 2009
1925 Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT... was updated in Ruby on Rails
  • Rob Aldred
    Rob Aldred commented at 5:53 PM

    sorry syntax fail - no preview sucks :(

      # rspec
      config.after(:each) {
        DatabaseCleaner.clean
      }
    

    # cucumber After do

    DatabaseCleaner.clean
    

    end

  • Rob Aldred
    Rob Aldred commented at 5:51 PM

    Just wanted to add some comments that might be useful for people experiencing this with Rspec + Cucumber
    basically... turn off transaction fixtures... its the o...

Thursday, July 23 2009
2943 drop_table to support temporary option like create_table was updated in Ruby on Rails
  • Rob Aldred
    Rob Aldred commented at 4:21 PM

    looks like lighthouse doesn't like my file...
    http://gist.github.com/153070

  • Rob Aldred
    Rob Aldred created the ticket at 4:09 PM

    Part of an application I am working on creates and drops temporary tables for processing data.
    I have run in to a few problems where creating and dropping table...

Tuesday, July 14 2009
2221 create_table cannot be called without block was updated in Ruby on Rails
  • Rob Aldred
    Rob Aldred commented at 5:24 PM

    That's great, thanks

  • Rob Aldred
    Rob Aldred commented at 5:15 PM

    This bug is still present in AR 2.3.2

    ActiveRecord::Base.connection.create_table(:foo)
    LocalJumpError: no block given

    from /opt/local/lib/ruby/gems/1.8/g...