html = ''
self.users.each do |user|
html << user.link_avatar_tag
I feel that it is possible to write shorter.
Is it possible get rid of the temporary variable(html)?
You should use map (don't use each to accumulate. Check this page about functional programming):
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago
Get the weekly newsletter! In it, you'll get:
see an example newsletter