do not use try in UserSerializer for fields coming from UserProfile

This commit is contained in:
Andrew Bezzub
2014-06-07 12:52:51 -07:00
parent 7db31adf35
commit 0a42901c40
4 changed files with 14 additions and 5 deletions

View File

@ -75,4 +75,4 @@ Fabricator(:elder, from: :user) do
username { sequence(:username) { |i| "elder#{i}" } }
email { sequence(:email) { |i| "elder#{i}@elderfun.com" } }
trust_level TrustLevel.levels[:elder]
end
end