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.

johnf's latest activity

Tuesday, December 08 2009
3550 Rollback of database transactions should support multiple databases. was created in Ruby on Rails
  • johnf
    johnf created the ticket at 12:33 PM

    I have an application with two databases.

    I setup models as so

    class VqdataBase < ActiveRecord::Base
      establish_connection "otherdb_#{RAILS_ENV}"
      self.abstr...
Wednesday, September 16 2009
3218 default_scope is having a side affecct on create was created in Ruby on Rails
  • johnf
    johnf created the ticket at 3:59 PM

    If I have the following

    class Foo
      default_scope :conditions => {:bar => 1}
    end
    

    If I try to create a new object

    >> Foo.new(:bar => 5)
    => #<Foo id: nil, name...
3215 ActiveResource::HttpMock.respond_to should not reset! by default was created in Ruby on Rails
  • johnf
    johnf created the ticket at 9:41 AM

    I'm using cucumber for testing and using ActiveResource for alot of the backends.

    So I might have

    Scenario: List a clients Services
    Given the client "inodes" An...