# Undefined method "enable quoting" for User

**URL:** https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000
**Category:** Development
**Created:** [2016年四月22日 17:31 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000 "2016-04-22T17:31:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ivanrlio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivanrlio/32/48497_2.png) [@ivanrlio](https://meta.discourse.org/u/ivanrlio)
#### Post date: [2016年四月22日 17:31 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000/1 "2016-04-22T17:31:39Z")

</div>

If I’m not mistaken, this error has occurred because I pulled the “latest” version a few weeks ago, but as I have not needed to go back to my local Discourse for testing until today, I have only just seen this error message when spinning it up. Has anyone encountered the error below and knows how to resolve this? Admittedly, I’m not really sure how to go about doing this.

 ![](https://global.discourse-cdn.com/meta/original/3X/f/8/f8c6891b94dc0780b3f719e087bb03c82a8bf7d5.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016年四月22日 19:50 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000/2 "2016-04-22T19:50:20Z")

</div>

Is this error causing a problem? What functionality is impacted by this error?

It is unclear to me where you found this error message.

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [2016年四月22日 19:56 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000/3 "2016-04-22T19:56:06Z")

</div>

What you are seen comes from `better_errors`. You must be in a dev instance.

You jumped in the wrong commit and the db is inconsistent with that commit.  
Why not nuke your development environment and start over if you messed up the database?  
`rake db:drop db:create db:migrate` will give you a fresh start.

---

<div class="post-metadata">

### Author: ![ivanrlio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivanrlio/32/48497_2.png) [@ivanrlio](https://meta.discourse.org/u/ivanrlio)
#### Post date: [2016年四月22日 20:12 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000/4 "2016-04-22T20:12:00Z")

</div>

@codinghorror: After `rails s` in terminal, and going to `localhost:3000`, this is the first message I am greeted with, and thus not able to use my local Discourse.

@fantasticfears: Great I’ll give your advice a go, thanks!

---

<div class="post-metadata">

### Author: ![ivanrlio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivanrlio/32/48497_2.png) [@ivanrlio](https://meta.discourse.org/u/ivanrlio)
#### Post date: [2016年四月22日 20:47 UTC](https://meta.discourse.org/t/undefined-method-enable-quoting-for-user/43000/5 "2016-04-22T20:47:18Z")

</div>

Hey Erick,

I gave your suggestion a go and was greeted by

 ![](https://global.discourse-cdn.com/meta/original/3X/c/c/ccba58917023cfa0cab748ca7ed50483d0d3a2f1.png).

Not sure about the first error, but this migration error appears to have been caused by a custom plugin. I disabled the `discourse-location` and did as you suggested and now I have a fresh instance of Discourse. Cheers
