diff --git a/app/models/user_certification.rb b/app/models/user_certification.rb
index e29b17c..649c48e 100644
--- a/app/models/user_certification.rb
+++ b/app/models/user_certification.rb
@@ -5,4 +5,8 @@ class UserCertification < ActiveRecord::Base
belongs_to :user
belongs_to :certification
+
+ def user_name
+ self.user.name unless self.user.blank?
+ end
end
diff --git a/app/views/user_certifications/index.html.erb b/app/views/user_certifications/index.html.erb
index 391f4fc..9996ffe 100644
--- a/app/views/user_certifications/index.html.erb
+++ b/app/views/user_certifications/index.html.erb
@@ -5,9 +5,9 @@
<% @grouped_user_certs.sort.each do |cert, user_certifications| %>
- <%= cert.name %>
- <% user_certifications.sort{|a,b| a.user.name <=> b.user.name}.each do |user_certification| %>
+ <% user_certifications.sort{|a,b| a.user_name <=> b.user_name}.each do |user_certification| %>
-
- <%= link_to user_certification.user.name, user_certification %>
+ <%= link_to user_certification.user_name, user_certification %>
<% end %>
diff --git a/public/copper-coin.png b/public/copper-coin.png
new file mode 100644
index 0000000..809bbbb
Binary files /dev/null and b/public/copper-coin.png differ
diff --git a/public/favicon.ico b/public/favicon.ico
index e69de29..f3f28f6 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/gold-coin.png b/public/gold-coin.png
new file mode 100644
index 0000000..e3f3836
Binary files /dev/null and b/public/gold-coin.png differ
diff --git a/public/silver-coin.png b/public/silver-coin.png
new file mode 100644
index 0000000..0d525ea
Binary files /dev/null and b/public/silver-coin.png differ