I'm building a rails app where login is optional. In other words, many of the same actions/views/controllers/pages will work logged in or logged out. You simply get more functionality if you are logged in (like the app remembers what you've done).
I'm currently using restful_authentication and role_requirement, and wondering which level to use. I could add a new role "user" which all logged in users get, for example, and then require_role "user"
and have view blocks using @user.has_role?
... or I could instead enhance the authentication side of things and do checks to see if the user is authenticated. Or I could do something else. Is there any standard way of handling this in rails?