mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Removed old #attr_accessible... comments
This commit is contained in:
@@ -17,7 +17,6 @@ class Customer < ActiveRecord::Base
|
|||||||
has_many :estimates
|
has_many :estimates
|
||||||
has_many :vehicles
|
has_many :vehicles
|
||||||
|
|
||||||
#attr_accessible :name, :notes, :email, :primary_phone, :mobile_phone, :phone_number
|
|
||||||
validates_presence_of :id, :name
|
validates_presence_of :id, :name
|
||||||
|
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
class Employee < ActiveRecord::Base
|
class Employee < ActiveRecord::Base
|
||||||
unloadable
|
unloadable
|
||||||
has_many :users
|
has_many :users
|
||||||
#attr_accessible :name
|
|
||||||
validates_presence_of :id, :name
|
validates_presence_of :id, :name
|
||||||
|
|
||||||
def self.get_base
|
def self.get_base
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ class Estimate < ActiveRecord::Base
|
|||||||
|
|
||||||
has_and_belongs_to_many :issues
|
has_and_belongs_to_many :issues
|
||||||
belongs_to :customer
|
belongs_to :customer
|
||||||
#attr_accessible :doc_number, :id
|
|
||||||
validates_presence_of :doc_number, :id
|
validates_presence_of :doc_number, :id
|
||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user