mailr/app/models/mail_pref.rb

10 lines
226 B
Ruby
Raw Normal View History

2009-01-07 21:37:17 +01:00
# require_association 'customer'
class MailPref < ActiveRecord::Base
belongs_to :customer
# def MailPref.find_by_customer(customer_id)
# find :first, :conditions => (["customer_id = #{customer_id}"])
# end
end