projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
app/models/user.rb
@@ -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?