How would I set in my rails app so that if a first time user comes to my site http://www.example.com they see a page that they can sign in but if an already logged in goes to http://www.example.com it now displays their own posts but still at the same http://www.example.com url.
Would I do something like render template based if they are logged in or is there some other way to do this?
You can set the users#home to be the root URL:
UsersController:
Have 2 files in the app/views/users folder:
logged_in.html.erb & non_logged_in.html.erb