We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey! Great gem! In Rails 5 I can see a deprecation warning like this:
DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to `find`. Please pass the id of the object by calling `.id`.
everytime I create new tree node:
tree_item.children.create(itemable: itemable)
Maybe it is only because TreeItem that uses acts_as_ordered_tree is polymorphic.
acts_as_ordered_tree
class TreeItem < ApplicationRecord acts_as_ordered_tree belongs_to :project belongs_to :itemable, polymorphic: true, inverse_of: :tree_item end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey! Great gem! In Rails 5 I can see a deprecation warning like this:
everytime I create new tree node:
Maybe it is only because TreeItem that uses
acts_as_ordered_tree
is polymorphic.The text was updated successfully, but these errors were encountered: