public
Description: A workaround to ensure multiparameter assignment still works when you delegate date/time Active Record attributes
Homepage:
Clone URL: git://github.com/jonleighton/delegate_temporal.git
delegate_temporal / init.rb
100644 6 lines (4 sloc) 0.147 kb
1
2
3
4
5
6
require File.dirname(__FILE__) + "/lib/delegate_temporal"
 
if defined? ActiveRecord::Base
  ActiveRecord::Base.send :include, DelegateTemporal
end