-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefine method in _ct rails g closure_tree:migration <modelname> #131
Comments
Can you try this PR #129 On 17 October 2014 07:26, santu-git [email protected] wrote:
|
Thanks for reporting the issue. I'll try to reproduce with 3.2.x this
|
I had that problem too. Rather than rush ahead and create the migration for the hierarchy table, you have to follow the steps in the instructions exactly in the order specified. You must add 'acts_as_tree' to your model before creating the hierarchy table. If you do that, then it'll run ok. |
@JohnSmall +1 |
Sorry guys I was out of synch with you for few days. Thanks for your help. |
rails g closure_tree:migration category stopped with following error
/usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.13/lib/active_record/dynamic_matchers.rb:55:in
method_missing': undefined method
_ct' for #Class:0xb8753358 (NoMethodError)The text was updated successfully, but these errors were encountered: