Skip to content
Snippets Groups Projects
  1. Feb 13, 2018
    • Andreas Brandl's avatar
      Explicit use of avatar_icon_* calls depending on situation. · c641dff0
      Andreas Brandl authored
      We want to drop the generic #avatar_icon helper that supports both an email
      and a user object being passed in. Instead, we want to explicitly use the #avatar_icon_for_user
      and #avatar_icon_for_email helpers depending on what we have at hand.
      This allows us to avoid unnecessary database queries (e.g. call
      User.find_by_any_email if we already have the user).
      
      In situations like here, this makes it less convenient to use.
      c641dff0
  2. Sep 25, 2017
  3. Aug 22, 2017
  4. Jul 24, 2017
  5. Jun 02, 2017
  6. May 10, 2017
  7. Mar 23, 2017
Loading