lib/mls.rb in mls-1.5.1 vs lib/mls.rb in mls-1.6.0
- old
+ new
@@ -156,6 +156,8 @@
belongs_to :avatar, :class_name => 'Image'
end
end
-Dir.glob(File.join(File.dirname(__FILE__), 'mls', '*.rb'), &method(:require))
+Dir.glob(File.join(File.dirname(__FILE__), 'mls', 'models', '*.rb'), &method(:require))
+
+require 'mls/railtie' if defined?(Rails)
\ No newline at end of file