# Rails plugin generator

**URL:** https://meta.discourse.org/t/rails-plugin-generator/95907
**Category:** Announcements
**Created:** [August 29, 2018, 11:43am UTC](https://meta.discourse.org/t/rails-plugin-generator/95907 "2018-08-29T11:43:01Z")
**Posts on this page:** 1
**Showing post:** 52

<div class="post-metadata">

### Author: ![Grayden\_Shand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grayden_shand/32/166586_2.png) [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)
#### Post date: [August 19, 2021, 6:27pm UTC](https://meta.discourse.org/t/rails-plugin-generator/95907/52 "2021-08-19T18:27:45Z")

</div>

In [Part 4 of @eviltrout’s plugin guide](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-4-git-setup/31272), he recommends developing the plugin outside of the discourse code base and setting up a symbolic link in the `plugins` directory.

> [@Developing Discourse Plugins - Part 4 - Setup git](https://meta.discourse.org/t/developing-discourse-plugins-part-4-setup-git/31272/1):
>
> The beauty of this setup is you can just check your plugin into github and not worry about the discourse codebase it lives inside. Your changes will be isolated to the plugin itself. If you need to edit discourse’s code you still can, but git will track the changes separately!
> 
> I recommend using one editor window for your plugin codebase and one for Discourse itself. It is easier when you think of them as two different things.

Would it make sense to add a `-d ~/path/to/plugin_src` option to generate the plugin in a different directory, and possibly also set up the symlink?

---

_[View the full topic](https://meta.discourse.org/t/rails-plugin-generator/95907)._
