Skip to content

Commit 6057ea2

Browse files
committed
Remove deprecated Rodauth::Rails::Model
1 parent 40507f0 commit 6057ea2

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

lib/rodauth/rails.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ module Rails
77
class Error < StandardError
88
end
99

10-
# This allows the developer to avoid loading Rodauth at boot time.
10+
# This allows avoiding loading Rodauth at boot time.
1111
autoload :App, "rodauth/rails/app"
1212
autoload :Auth, "rodauth/rails/auth"
13-
autoload :Model, "rodauth/rails/model"
1413

1514
@app = nil
1615
@middleware = true

lib/rodauth/rails/model.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/model_mixin_test.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ class ModelMixinTest < UnitTest
2222
end
2323
end
2424

25-
test "deprecated Rodauth::Rails::Model constant" do
26-
capture_io do
27-
assert_equal Rodauth::Model, Rodauth::Rails::Model
28-
end
29-
end
30-
3125
private
3226

3327
def define_account_class

0 commit comments

Comments
 (0)