I have added the acts_as_authenticated plugin to code, and have gotten VERY BASIC...
[selectricity] / README
diff --git a/README b/README
index 1c1f548df2d7561fbb5010520560c8d27e84ccbf..341ef6d10113abd1522342fc74d46924d7f3df0f 100644 (file)
--- a/README
+++ b/README
@@ -3,3 +3,23 @@ Contributors to Selectricity Include:
  * Benjamin Mako Hill <mako@atdot.cc>
  * John Dong          <jdong@ubuntu.com>
  * Justin Sharps      <jlsharps@mit.edu>
+
+07/31/07
+jlsharps: I've added a user authentication system known as
+"acts_as_authenticated" to the code. The plugin is the the vendor/plugins 
+directory. The two most noticeable changes are the AccountController and a 
+redone User model. I've left the UserController in place for now, but the 
+AccountController works in a different manner, so am switching over to that 
+gradually. I saved the 5 lines or so in the old User model, overwrote 
+it with the authenticated generator and then recopied the old stuff back in: 
+has_many :elections and the name() method. The generator also creates its own 
+migration file, but since we are using a create.sql file I adopted the 
+migration file into a new users table in the create.sql file. I have yet to 
+delete the old table because I haven't fully combed through the code yet and 
+determined how many of the old attributes (such as first_name, last_name) may 
+need to be retained. 
+http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated is the 
+best site for documentation regarding acts_as_authenticaed. Also, currently
+it only stores the user_id in the session, but i just found a guide to help 
+me make it store the entire user object, so I'll do that while my battery 
+charges.
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?