Project

General

Profile

« Previous | Next » 

Revision abd8f1d1

Added by Daniel Lobato Garcia over 9 years ago

Refs #3809 - Remove cops for empty lines

View differences:

app/models/host/hostmix.rb
module Host
module Hostmix
def has_many_hosts(options = {})
has_many :hosts, {:class_name => "Host::Managed"}.merge(options)
end
......
def belongs_to_host(options = {})
belongs_to :host, {:class_name => "Host::Managed", :foreign_key => :host_id}.merge(options)
end
end
end

Also available in: Unified diff