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
By default, acts_as_commentable will assume you are using a Comment model. To change this: we need to pass a hash with it:
acts_as_commentable
Comment
acts_as_commentable { class_name: 'MyComment' }
Doing the same for the gem but recieving the error:
wrong no of arguments 1 for 0.
As it acts_as_commentable method don't have options in it.
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
No branches or pull requests
By default,
acts_as_commentable
will assume you are using aComment
model. To change this: we need to pass a hash with it:acts_as_commentable { class_name: 'MyComment' }
Doing the same for the gem but recieving the error:
wrong no of arguments 1 for 0.
As it acts_as_commentable method don't have options in it.
The text was updated successfully, but these errors were encountered: