Ruby #265 LIKE 0 0 def has_currency_rate? val = false if self.currency.id == self.client.company.currency.id or self.currency_rate.blank? else val = true end val end