Skip to content
Snippets Groups Projects
  1. Feb 13, 2018
    • Andreas Brandl's avatar
      Extract method to improve readability. · 4f3d7532
      Andreas Brandl authored
      4f3d7532
    • 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. Aug 07, 2017
  5. Jul 24, 2017
  6. Jun 02, 2017
  7. Oct 06, 2016
  8. Sep 06, 2016
  9. Aug 08, 2016
  10. Aug 06, 2016
  11. Jul 20, 2016
Loading