B-Sides / peacekeeper

Peacekeeper handles delegation to a variety of ORMs and separation of business logic from persistance logic
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

The AR adapter tries to connect after being set #6

Open jonathan opened 12 years ago

jonathan commented 12 years ago
  class AddressModel << Peacekeeper::Model
    self.orm = :active_record
  end

When address gets loaded up it tries and connects to the DB using the settings for AR. If there isn't anything set for the DB then you get error "can't convert nil to String".