On Jan 25, 2013, at 5:02 PM, Andrew Kaspick wrote: > What's wrong with... > <% if user = account.owner %> > ... > <% end %> > or > <% if users = account.users.presence %> > ... > <% end %> > ?
If running with warnings enabled ruby will raise a warning on these. Best. Mike -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.