# The Plugin::Instance.find\_all method incorrectly treats every file with the «plugin.rb» name as a Discourse plugin

**URL:** <https://meta.discourse.org/t/the-plugin-instance-find-all-method-incorrectly-treats-every-file-with-the-plugin-rb-name-as-a-discourse-plugin/54462>\
**Category:** Bug\
**Created:** [Dezembro 19, 2016, 12:21am UTC](https://meta.discourse.org/t/the-plugin-instance-find-all-method-incorrectly-treats-every-file-with-the-plugin-rb-name-as-a-discourse-plugin/54462 "2016-12-19T00:21:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Dezembro 19, 2016, 12:31am UTC](https://meta.discourse.org/t/the-plugin-instance-find-all-method-incorrectly-treats-every-file-with-the-plugin-rb-name-as-a-discourse-plugin/54462/2 "2016-12-19T00:31:24Z")

</div>

good point, this is a legit issue.

---

_[View the full topic](https://meta.discourse.org/t/the-plugin-instance-find-all-method-incorrectly-treats-every-file-with-the-plugin-rb-name-as-a-discourse-plugin/54462)._
