Forum: Ruby on Rails Controller methods

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gregory S. (Guest)
on 2006-02-28 01:26
(Received via mailing list)
I am not clear on what makes a controller method available as an URL.
specifically, I'm not clear on how to prevent methods from being
as URLs.

I am working on a simple web API framework (home-rolled rather
than SOAP or XML-RPC) that provides little more than a high-level
system between JavaScript and Rails. My ApplicationController will
implement the only methods that should be available via HTTP, but the
controllers will need to implement methods that the HTTP-accessible
will call. Is it as simple as making the separate controllers' methods
protected and private?

Kevin O. (Guest)
on 2006-02-28 02:43
(Received via mailing list)
Yes, I think 'private' methods are not reachable by a URL.

This topic is locked and can not be replied to.