message index
This commit is contained in:
parent
53fd7ad6ee
commit
f5c796f76b
6 changed files with 70 additions and 69 deletions
|
@ -1,9 +0,0 @@
|
|||
require_association 'customer'
|
||||
|
||||
class MailPref < ActiveRecord::Base
|
||||
belongs_to :customer
|
||||
|
||||
def MailPref.find_by_customer(customer_id)
|
||||
find_first(["customer_id = #{customer_id}"])
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue