Sha256: a67cb38b35974cb162c91045a8f96e7e206802f3a3e1c19bbd32201396a98ede

Contents?: true

Size: 324 Bytes

Versions: 20

Compression:

Stored size: 324 Bytes

Contents

require 'active_record/acts/adjacency_list'
# reopen ActiveRecord and include all the above to make
# them available to all our models if they want it
ActiveRecord::Base.class_eval do
  include ActiveRecord::Acts::AdjacencyList
end

# alternatively, you can use this call:
# ActiveRecord::Base.send :include, Foo::Acts::Fox

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-enriquez-0.9.4 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.9.4 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.9.3 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.9.2 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.9.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.9.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.4 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.5 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.4.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.4.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.5.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.5.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.6.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.7.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.7.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.0 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.1 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.2 vendor/plugins/acts_as_adjacency_list/init.rb
spree-0.8.3 vendor/plugins/acts_as_adjacency_list/init.rb