0
class Company < ActiveRecord::Base
0
- (1..114).each do |each|
0
- attr_accessor :"attribute_#{each}"
0
- before_create :before_create_if_with_proc_condition,
0
- :if => lambda {|company| company.attribute_1 == 'before_create_if_with_proc_condition'}
0
- before_create :before_create_unless_with_proc_condition,
0
- :unless => lambda {|company| company.attribute_2 == 'before_create_unless_with_proc_condition'}
0
- def before_create_if_with_proc_condition
0
- self.attribute_1 = 'attribute_1'
0
- def before_create_unless_with_proc_condition
0
- self.attribute_2 = 'attribute_2'
0
- after_create :after_create_if_with_proc_condition,
0
- :if => lambda {|company| company.attribute_3 == 'after_create_if_with_proc_condition'}
0
- after_create :after_create_unless_with_proc_condition,
0
- :unless => lambda {|company| company.attribute_4 == 'after_create_unless_with_proc_condition'}
0
- def after_create_if_with_proc_condition
0
- self.attribute_3 = 'attribute_3'
0
- def after_create_unless_with_proc_condition
0
- self.attribute_4 = 'attribute_4'
0
- before_save :before_save_if_with_proc_condition,
0
- :if => lambda {|company| company.attribute_5 == 'before_save_if_with_proc_condition'}
0
- before_save :before_save_unless_with_proc_condition,
0
- :unless => lambda {|company| company.attribute_6 == 'before_save_unless_with_proc_condition'}
0
- def before_save_if_with_proc_condition
0
- self.attribute_5 = 'attribute_5'
0
- def before_save_unless_with_proc_condition
0
- self.attribute_6 = 'attribute_6'
0
- after_save :after_save_if_with_proc_condition,
0
- :if => lambda {|company| company.attribute_7 == 'after_save_if_with_proc_condition'}
0
- after_save :after_save_unless_with_proc_condition,
0
- :unless => lambda {|company| company.attribute_8 == 'after_save_unless_with_proc_condition'}
0
- def after_save_if_with_proc_condition
0
- self.attribute_7 = 'attribute_7'
0
- def after_save_unless_with_proc_condition
0
- self.attribute_8 = 'attribute_8'
0
- before_destroy :before_destroy_if_with_proc_condition,
0
- :if => lambda {|company| company.attribute_9 == 'before_destroy_if_with_proc_condition'}
0
- before_destroy :before_destroy_unless_with_proc_condition,
0
- :unless => lambda {|company| company.attribute_10 == 'be