acts-as-messageable icon indicating copy to clipboard operation
acts-as-messageable copied to clipboard

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

Open valinaga opened this issue 11 years ago • 5 comments

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

valinaga avatar Jul 27 '14 08:07 valinaga

@valinaga the same for version from master branch?

LTe avatar Jan 10 '15 18:01 LTe

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

valinaga avatar Jan 11 '15 09:01 valinaga

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

LTe avatar Jan 11 '15 12:01 LTe

Hi,

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

valinaga avatar Apr 14 '16 16:04 valinaga

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?

gcstr avatar Jun 13 '20 16:06 gcstr