Sha256: 08b839b81cdf75d93a890f03a5789e6f15d4d54c5e6408b88cd00357547effcc

Contents?: true

Size: 293 Bytes

Versions: 25

Compression:

Stored size: 293 Bytes

Contents

require 'canine'

class Dog < Canine
  attr_accessor :after_find_test, :after_initialize_test
  set_table_name "bow_wows"
  
  def after_find
    @after_find_test = true
#    puts "After find called on #{name}."
  end
  
  def after_initialize
    @after_initialize_test = true
  end
  
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
radiant-tags-extension-1.6.10 vendor/plugins/has_many_polymorphs/test/models/dog.rb
johnsbrn-has_many_polymorphs-2.13.1 test/models/dog.rb
johnsbrn-has_many_polymorphs-2.13.3 test/models/dog.rb
johnsbrn-has_many_polymorphs-2.13.4 test/models/dog.rb
johnsbrn-has_many_polymorphs-2.13 test/models/dog.rb
radiant-tags-extension-1.6.9 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.8 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.7 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.6 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.5 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.4 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.3 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.2 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.1 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.6.0 vendor/plugins/has_many_polymorphs/test/models/dog.rb
radiant-tags-extension-1.5.1 vendor/plugins/has_many_polymorphs/test/models/dog.rb
has_many_polymorphs-2.10 test/models/dog.rb
has_many_polymorphs-2.2 test/models/dog.rb
has_many_polymorphs-2.13 test/models/dog.rb
has_many_polymorphs-2.12 test/models/dog.rb