The easiest way to create a RESTful check in Rails is to combine a user model and a session controller. Thus, you will have new (login), creation (authentication), destruction (logout) actions in the session controller. Depending on the application, it's quite easy to write your own authentication. This screencast shows how simple it is. Authentication in Rails 3.1
source share