Working on a step-by-step workflow audit.
[selectricity-live] / app / models / user.rb
diff --git a/app/models/user.rb b/app/models/user.rb
new file mode 100644 (file)
index 0000000..62c5d1d
--- /dev/null
@@ -0,0 +1,9 @@
+class User < ActiveRecord::Base
+  include LoginEngine::AuthenticatedUser
+  has_many :elections
+
+  def name
+    [ firstname, lastname].join(" ")
+  end
+end
+

Benjamin Mako Hill || Want to submit a patch?