lib/timestamped_column.rb in timestamped_column-0.1.1 vs lib/timestamped_column.rb in timestamped_column-0.2.0
- old
+ new
@@ -1,2 +1,6 @@
-require 'active_support/concern'
-require 'timestamped_column/active_record'
+require "timestamped_column/version"
+require "timestamped_column/active_record/timestamped_column"
+
+module TimestampedColumn
+ ActiveRecord::Base.send :include, ActiveRecord::TimestampedColumn
+end