collectiveidea/awesome_nested_set — Issue #104: bundler and acts_as_nested_set
Author: omsoft
Created: 2011-11-21 15:19:55+00:00
State: open

Hi folks, i'm encountering problems with acts_as_nested_set... with rails 2.3.14 and bundler.
I have the following model Page.rb:

class Page < ActiveRecord::Base
acts_as_nested_set

has_friendly_id :title, :use_slug => true
translates :title, :description, :menu_label
end

my database table contains the proper fields:
t.integer :parent_id
t.integer :lft
t.integer :rgt

Loading the controller, I get this error:
undefined local variable or method `acts_as_nested_set'

UPDATE:
I solved by changing the haml version specified into my Gemfile, from:
gem "haml", "~> 3.0.13"

to
gem "haml", "3.0.14"

Running `bundle update`, changed the rake version too.