Skip to content

Instantly share code, notes, and snippets.

@jzellman
Created April 9, 2009 16:51
Show Gist options
  • Save jzellman/92585 to your computer and use it in GitHub Desktop.
Save jzellman/92585 to your computer and use it in GitHub Desktop.
class Device
# ...
def friendly_name
"#{self.customer.device_name_prefix} #{self.device_number}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment