Skip to content

Commit 7634cc9

Browse files
committed
Removing configs_from.
This feature is currently unused so it should be removed. This should be implemented when multiple applications are ready to be used in a single ruby process.
1 parent 25e8d0a commit 7634cc9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

activerecord/lib/active_record/application_configuration.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@ module ApplicationConfiguration
33
extend ActiveSupport::Concern
44

55
module ClassMethods
6-
def configs_from(mod)
7-
app_record = self
8-
9-
mod.singleton_class.instance_eval do
10-
define_method(:application_record) { app_record }
11-
end
12-
13-
define_singleton_method(:configs_from_application) { application }
14-
end
15-
166
def application_record(klass = nil)
177
return ActiveRecord::Base unless klass
188

0 commit comments

Comments
 (0)