Skip to content

Commit

Permalink
fix qualified name
Browse files Browse the repository at this point in the history
refs CNVS-26480

Change-Id: I917495763d39dc1745cf5ff9a1da86c636085061
Reviewed-on: https://gerrit.instructure.com/74236
Tested-by: Jenkins
Reviewed-by: Rob Orton <[email protected]>
Product-Review: Cody Cutrer <[email protected]>
QA-Review: Cody Cutrer <[email protected]>
  • Loading branch information
ccutrer committed Mar 10, 2016
1 parent 58912dd commit 486f7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def self.by_top_enrollment

scope :with_last_login, lambda {
select("users.*, MAX(current_login_at) as last_login").
joins("LEFT OUTER JOIN pseudonyms ON pseudonyms.user_id = users.id").
joins("LEFT OUTER JOIN #{Pseudonym.quoted_table_name} ON pseudonyms.user_id = users.id").
group("users.id")
}

Expand Down

0 comments on commit 486f7f0

Please sign in to comment.