Topic: Howto: Make an API for a Rails app

Here's two different approaches to protecting your controller/actions for API requests:

http://www.whatcodecraves.com/articles/ … _rails_app

It's nothing complicated, but it's a nice example of how to write your own custom around filter to accomplish the task.  Hope it helps!

Last edited by jch (2008-12-01 23:47:55)

Because it's what code craves.

Re: Howto: Make an API for a Rails app

nice tip. thanks.