Sha256: 4aa9a8633f80539e8ad2bb07120502e9d7f48b825c41b1a9d78a60848f047e72

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

require 'awesome_nested_set/compatability'
require 'awesome_nested_set'

ActiveRecord::Base.class_eval do
  include CollectiveIdea::Acts::NestedSet
end

if defined?(ActionView)
  require 'awesome_nested_set/helper'
  ActionView::Base.class_eval do
    include CollectiveIdea::Acts::NestedSet::Helper
  end
end

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
chrislloyd-awesome_nested_set-1.1.2 rails/init.rb
chrislloyd-awesome_nested_set-1.1.3 rails/init.rb
collectiveidea-awesome_nested_set-1.1.1 rails/init.rb
collectiveidea-awesome_nested_set-1.2.0 rails/init.rb
ggoodale-awesome_nested_set-1.1.1 rails/init.rb
ggoodale-awesome_nested_set-1.1 rails/init.rb
shuber-awesome_nested_set-1.1.2 rails/init.rb
shuber-awesome_nested_set-1.1.3 rails/init.rb
shuber-awesome_nested_set-1.1.4 rails/init.rb