diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-06-17 21:27:36 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-06-17 21:27:54 -0500 |
commit | fbdf706fffbfb17731a1f459203d242414ef5086 (patch) | |
tree | a769e35c939d59241a607a41503cf73c3b5acb62 /activemodel/lib/active_model.rb | |
parent | af5301089f38b9aad9a92424d5fa8f9a9b27c4e1 (diff) | |
download | rails-fbdf706fffbfb17731a1f459203d242414ef5086.tar.gz rails-fbdf706fffbfb17731a1f459203d242414ef5086.tar.bz2 rails-fbdf706fffbfb17731a1f459203d242414ef5086.zip |
Add basic JSON serializer to AMo
Diffstat (limited to 'activemodel/lib/active_model.rb')
-rw-r--r-- | activemodel/lib/active_model.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb index 048f542239..544121c593 100644 --- a/activemodel/lib/active_model.rb +++ b/activemodel/lib/active_model.rb @@ -38,6 +38,10 @@ module ActiveModel autoload :TestCase, 'active_model/test_case' autoload :Validations, 'active_model/validations' autoload :ValidationsRepairHelper, 'active_model/validations_repair_helper' + + module Serializers + autoload :JSON, 'active_model/serializers/json' + end end I18n.load_path << File.dirname(__FILE__) + '/active_model/locale/en.yml' |