initial commit.
[reserve_usernames.git] / lib / reserve_usernames.rb
1 module ReserveUsernames
2   CONFIG = YAML.load_file(File.expand_path('../../config.yml', __FILE__))[Rails.env]
3 end
4
5 require 'reserve_usernames/engine'
6 require 'reserve_usernames/callbacks'
7 require 'reserve_usernames/validate'
8
9 ActiveSupport.on_load(:identity) do
10   include ReserveUsernames::Validate
11   include ReserveUsernames::Callbacks
12 end