# Can I delete the Restful Authentication files in vendor after generation

**URL:** <https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743>\
**Category:** Rails\
**Created:** [June 6, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743 "2008-06-06T17:11:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 6, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/1 "2008-06-06T17:11:02Z")

</div>

I built the “Bells and whistles” RA project and now I am wondering if  
I still need the files in vendor. I don’t think I do, but someone  
knows this for certain.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 7, 2008, 7:31am UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/2 "2008-06-07T07:31:36Z")

</div>

I’m not sure because I have never used the plugin, but I think that RA  
provides some specific helper methods through the plugin and so you  
will want to keep it packed with your app.

Of course, I might be completely and totally wrong as well.

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 7, 2008, 8:43am UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/3 "2008-06-07T08:43:03Z")

</div>

I’m not 100% sure but I am 99% sure because it just references the  
file that is in the lib folder

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 7, 2008, 2:21pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/4 "2008-06-07T14:21:06Z")

</div>

OK,  
I deleted the Restful Authentication directory in vendor and  
everything still runs fine. The plugin appears to work as advertised,  
which is that it generates code in the root rails app tree rather than  
directing calls to code in the vendor tree.

good to know

Thanks

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 7, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/5 "2008-06-07T17:09:12Z")

</div>

Thanks for letting me know … eases my fears. 🙂

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [June 10, 2008, 5:21am UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/6 "2008-06-10T05:21:31Z")

</div>

Been using Restful Auth for my little project…not sure about the  
latest github version, but the svn version (eg classic) just relied on  
stuff in the lib directory (authenticated\_system & the like). So as  
long as you don’t need to generate a new user/session, removing it  
from vendor is (as you found) just fine.  
-Dale

---

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [September 16, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743/7 "2008-09-16T22:20:33Z")

</div>

Just to let you know, that using the lastest “Master”  
restful\_authentication, the vendor folder must be kept.
