# Private equals protected on controllers?

**URL:** <https://www.ruby-forum.com/t/private-equals-protected-on-controllers/144699>\
**Category:** Rails\
**Created:** [August 1, 2008, 10:16am UTC](https://www.ruby-forum.com/t/private-equals-protected-on-controllers/144699 "2008-08-01T10:16:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 1, 2008, 10:16am UTC](https://www.ruby-forum.com/t/private-equals-protected-on-controllers/144699/1 "2008-08-01T10:16:44Z")

</div>

Hello.  
It seems private methods of e.g. ApplicationController can be called  
successfully from other controllers inheriting it. A bug or a  
“feature”?

(Tested with Rails 2.1.0)

–  
A.H.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 1, 2008, 11:03am UTC](https://www.ruby-forum.com/t/private-equals-protected-on-controllers/144699/2 "2008-08-01T11:03:36Z")

</div>

Discussed here already:  
[http://groups.google.com/group/rubyonrails/browse\_thread/thread/22a8d1e412faaa20](http://groups.google.com/group/rubyonrails/browse_thread/thread/22a8d1e412faaa20)

–  
A.H.
