Switching to RVM, View tweaks
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class Payment < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
has_one :ipn
|
||||
has_one :paypal_csv
|
||||
attr_accessible :date, :user_id, :created_by, :amount
|
||||
|
||||
validates_presence_of :user_id, :date, :amount # not created_by
|
||||
|
||||
Reference in New Issue
Block a user