Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ecb0021834
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.239 kb
class Team < ActiveRecord::Base
validates :name, presence: true
attr_accessor :logo_remote_url
has_attached_file :logo
delegate :url, to: :logo, prefix: true
def logo_remote_url=(url)
self.logo = URI.parse(url)
end
end
Jump to Line
Something went wrong with that request. Please try again.