Skip to content

Commit

Permalink
Use ActiveSupport::Autoload instead Ruby autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
maurogeorge committed Dec 23, 2015
1 parent 4fcf639 commit 7bd2361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/active_model_serializers/test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module ActiveModelSerializers
module Test
autoload :Schema, 'active_model_serializers/test/schema'
extend ActiveSupport::Autoload
autoload :Schema
end
end

0 comments on commit 7bd2361

Please sign in to comment.