Using awesome_nested_set 1.4.3 with Rails 3 on Heroku was not straight forward. I wanted to document this here in case someone else had the same problem.
First, make sure you have installed it as a plugin, not as a gem. Remove it from Gemfile if you have it there and install it on your local with: rails plugins install http://github.com/collectiveidea/awesome_nested_set.git If you try to run it now, you will get a NoMethodError for proxy_options. This is documented on github as issue #34. Until a permanent fix is made available, you can open vendor/plugins/ awesome_nested_set/lib/awesome_nested_set.rb and on line #567 remove: ", nested_set_scope.proxy_options[:conditions]" Then you will get two depreciation warnings on lines #89 and #90 of the same file. This is documented on github as issue #42. Change "named_scope" to "scope" on those lines. If you're like me, you have the vendor folder listed in .gitignore. If so remove it. Then add, commit and push to heroku. My tests still pass with these changes. YMMV. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.