I've got 2 models: School and Student
I'm using restful authentication for school so when someone signs up
they are routed to schools/new
The schools table has info for an admin, but I also need
authentication for students. Here is what I was thinking would be the
best way to do this:
#1 Combine admin and students into User model and have an admin?
boolean column. So schools would be info about the school, with no
#2 When logging in, if the user is a student they would check the
student checkbox so the query can be against students, rather than
schools. I believe this is basically like having 2 authentication
systems which seems kind of complicated.
Which way would you guys do this?