Resolves: #8 & #9 (at least w.r.t. the current state of the system)
So, I've been following along with RailsTutorial.org's implementation of a basic User system and got through chapter 10 (for reference). I've adapted what they present there for our purposes.
This change should give us:
Some good examples of working with models, views, and controllers
Some initial tests! (Not Cucumber ones though :expressionless: )
A simple User system that can create/display/update/delete users and:
Keeps visitors out of the majority of the app if they're not logged in
Directs to either the login page or the main control page when visitors land on the root path, depending on whether the user is logged in.
Please check it out and let me know if it's ready to merge to master. Once this is merged in, it should be easier to start adding in other pages.
Note that you'll need jRuby ready to go for this if you haven't already set that up.
Resolves: #8 & #9 (at least w.r.t. the current state of the system)
So, I've been following along with RailsTutorial.org's implementation of a basic User system and got through chapter 10 (for reference). I've adapted what they present there for our purposes.
This change should give us:
Please check it out and let me know if it's ready to merge to master. Once this is merged in, it should be easier to start adding in other pages. Note that you'll need jRuby ready to go for this if you haven't already set that up.