We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Please go to http://rails-bestpractices.com/posts/56-use-query-attribute
Before:
<% if @user.login.blank? %> <%= link_to 'login', new_session_path %> <% end %>
After:
<% unless @user.login? %> <%= link_to 'login', new_session_path %> <% end %>