Hello all! I'm a rails newbie with a conceptual question:
I want to implement a signin/signout mechanism. I'm currently following Michael Hartl's RoR tutorial. The thing is, that tutorial goes about implementing sessions with a separate controller and views. I want my signin form to be on the homepage (meaning, I don't want a sessions/new.html.erb page).
What is the best way to achieve this? Should I use a helper? a module? is it possible to achieve this using a SessionsController?
I'm swimming in new territory so any help (or examples) would be very much appreciated. Thanks!
P.S. I'm using Rails 3