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

Benjamin Mako Hill || Want to submit a patch?