# PluginStore API - get row by attribute

**URL:** https://meta.discourse.org/t/pluginstore-api-get-row-by-attribute/46251
**Category:** Development
**Created:** [June 23, 2016, 9:07am UTC](https://meta.discourse.org/t/pluginstore-api-get-row-by-attribute/46251 "2016-06-23T09:07:48Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jafeth.diazc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jafeth.diazc/32/101197_2.png) [@jafeth.diazc](https://meta.discourse.org/u/jafeth.diazc)
#### Post date: [January 30, 2017, 7:46am UTC](https://meta.discourse.org/t/pluginstore-api-get-row-by-attribute/46251/4 "2017-01-30T07:46:55Z")

</div>

Hello André

How did you manage to use ActiveRecord in your plugin? Did you face any issue as mentioned here?

> [@How to create migration files?](https://meta.discourse.org/t/how-to-create-migration-files/48991/3):
>
> Note that if you are developing a plugin, discourse provides a PluginStore to help you avoid migrations, since undoing then when the plugin gets uinstalled is a open problem.

Greetings

---

_[View the full topic](https://meta.discourse.org/t/pluginstore-api-get-row-by-attribute/46251)._
