Skip to content
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

warning: Creating scope :readed. Overwriting existing method ActsAsMessageable::Message.readed. #64

Open
valinaga opened this issue Jul 27, 2014 · 5 comments

Comments

@valinaga
Copy link

After adding acts_as_messageable i'm constantly getting multiple warnings like this:
Creating scope :readed. Overwriting existing method ActsAsMessageable::Message.readed.
for every invocation of an User instance.
Do you have any idea?
Thanks

@LTe
Copy link
Owner

LTe commented Jan 10, 2015

@valinaga the same for version from master branch?

@valinaga
Copy link
Author

I just updated from the gem to 0.4.10. Will let you know the results.
Thanks

@LTe
Copy link
Owner

LTe commented Jan 11, 2015

@valinaga please re-open this issue in case on any problems.

@LTe LTe closed this as completed Jan 11, 2015
@valinaga
Copy link
Author

Hi,

Same thing for acts-as-messageable-0.4.10
Any idea?
Thanks

@gcstr
Copy link

gcstr commented Jun 13, 2020

I'm aware this is a very old issue, but I'm getting a similar warning in Rails 6:

Creating scope :roots. Overwriting existing method Message.roots.
Creating scope :ancestors_of. Overwriting existing method Message.ancestors_of.
Creating scope :children_of. Overwriting existing method Message.children_of.
Creating scope :indirects_of. Overwriting existing method Message.indirects_of.
Creating scope :descendants_of. Overwriting existing method Message.descendants_of.
Creating scope :subtree_of. Overwriting existing method Message.subtree_of.
Creating scope :siblings_of. Overwriting existing method Message.siblings_of.
Creating scope :ordered_by_ancestry. Overwriting existing method Message.ordered_by_ancestry.
Creating scope :ordered_by_ancestry_and. Overwriting existing method Message.ordered_by_ancestry_and.
Creating scope :path_of. Overwriting existing method Message.path_of.
Creating scope :before_depth. Overwriting existing method Message.before_depth.
Creating scope :to_depth. Overwriting existing method Message.to_depth.
Creating scope :at_depth. Overwriting existing method Message.at_depth.
Creating scope :from_depth. Overwriting existing method Message.from_depth.
Creating scope :after_depth. Overwriting existing method Message.after_depth.
Creating scope :are_from. Overwriting existing method Message.are_from.
Creating scope :are_to. Overwriting existing method Message.are_to.
Creating scope :search. Overwriting existing method Message.search.
Creating scope :connected_with. Overwriting existing method Message.connected_with.
Creating scope :readed. Overwriting existing method Message.readed.
Creating scope :unreaded. Overwriting existing method Message.unreaded.
Creating scope :deleted. Overwriting existing method Message.deleted.

What is the issue here?

@LTe LTe reopened this Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants