message index
This commit is contained in:
parent
53fd7ad6ee
commit
f5c796f76b
6 changed files with 70 additions and 69 deletions
9
app/models/mail_pref.rb
Normal file
9
app/models/mail_pref.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue