Sha256: 82f93dc03c21bcc7f7c3c00817cab42214dd7ee679cde1e7621d5b54fdf3b5de
Contents?: true
Size: 977 Bytes
Versions: 3
Compression:
Stored size: 977 Bytes
Contents
require File.join(File.dirname(__FILE__), "annotations", "config") require File.join(File.dirname(__FILE__), "annotations_version_fu") %w{ models controllers helpers }.each do |dir| path = File.join(File.dirname(__FILE__), 'app', dir) $LOAD_PATH << path ActiveSupport::Dependencies.autoload_paths << path ActiveSupport::Dependencies.autoload_once_paths.delete(path) end require File.join(File.dirname(__FILE__), "annotations", "acts_as_annotatable") ActiveRecord::Base.send(:include, Annotations::Acts::Annotatable) require File.join(File.dirname(__FILE__), "annotations", "acts_as_annotation_source") ActiveRecord::Base.send(:include, Annotations::Acts::AnnotationSource) require File.join(File.dirname(__FILE__), "annotations", "acts_as_annotation_value") ActiveRecord::Base.send(:include, Annotations::Acts::AnnotationValue) require File.join(File.dirname(__FILE__), "annotations", "routing") require File.join(File.dirname(__FILE__), "annotations", "util")
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
my_annotations-0.6.0 | lib/my_annotations.rb |
my_annotations-0.5.1 | lib/my_annotations.rb |
my_annotations-0.5.0 | lib/my_annotations.rb |