# Development: undefined method 'trust\_level\_locked' did you mean trust\_level?

**URL:** https://meta.discourse.org/t/development-undefined-method-trust-level-locked-did-you-mean-trust-level/75118
**Category:** Development
**Created:** [November 30, 2017, 8:19pm UTC](https://meta.discourse.org/t/development-undefined-method-trust-level-locked-did-you-mean-trust-level/75118 "2017-11-30T20:19:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 30, 2017, 8:19pm UTC](https://meta.discourse.org/t/development-undefined-method-trust-level-locked-did-you-mean-trust-level/75118/1 "2017-11-30T20:19:21Z")

</div>

On my dev instance I just did an import and now when I access a topic I’m getting this error.

```plaintext
undefined method `trust_level_locked' for #<User:0x0055d8685b81c8>
Did you mean? trust_level

```

sometimes just in the logs and sometimes it pulls up the Rails error console (or whatever it’s called).

It looks like some mismatch between versions. I’ve done a `db:migrate` and `bundle install`, but I’m still getting the error.

I guess I’ll back up to a new database and see what happens from there, or maybe there’s something “obvious” that I’m missing.

Edit: I did a `git pull upstream master`, `bundle install`, and migrated and I’m back in business.
