test/dummy/app/models/user.rb in query_report-1.0.1 vs test/dummy/app/models/user.rb in query_report-1.0.2

- old
+ new

@@ -1,3 +1,8 @@ class User < ActiveRecord::Base - attr_accessible :dob, :email, :name, :single + has_many :invoices, :foreign_key => "received_by_id" + attr_accessible :email, :first_name, :last_name + + def name + "#{first_name} #{last_name}" + end end