lib/apartment.rb in apartment-0.9.2 vs lib/apartment.rb in apartment-0.10.0
- old
+ new
@@ -39,10 +39,13 @@
module Elevators
autoload :Subdomain, 'apartment/elevators/subdomain'
end
module Delayed
+
+ autoload :Requirements, 'apartment/delayed_job/requirements'
+
module Job
autoload :Hooks, 'apartment/delayed_job/hooks'
end
end
@@ -55,9 +58,12 @@
# Raised when database cannot find the specified schema
class SchemaNotFound < ApartmentError; end
# Raised when trying to create a schema that already exists
class SchemaExists < ApartmentError; end
+
+ # Raised when an ActiveRecord object does not have the required database field on it
+ class DJSerializationError < ApartmentError; end
end
Apartment.configure do |config|
config.excluded_models = []
\ No newline at end of file