love the gem. Txs. Everything works except for 1 thing. Whenever I try to use the move_to_child_of method exactly as in the cheat sheet I get an error saying NameError: uninitialized constant Category::Category. What is going wrong here?
Not sure - can we see the code in your Category class?
Pretty straight forward:
class Category < ActiveRecord::Base
attr_accessible :name, :ics_url, :image_url
I can't think why.
Ran into this just now (on save) and thought I'd mention what we found in case it helps--our project was using this snippet to automatically reload the app, and somehow reloading the including model was the cause. Can't say for sure what's happening, but removing the initializer fixed it.
Has this issue been fixed, cause I am having same problem in my app.
This is such a long time ago that I can't remember what I did to solve it at that time. I don't use the gem anymore. Sorry.