Sha256: d2b4ad3507d3e094fd8f75e933ea51f7411a0174f259c824af382b7e06d97020
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
class Category < ActiveRecord::Base acts_as_cleo_connection :origin => "book", :target => "author", :type => "call_for_type_method" belongs_to :book belongs_to :author def call_for_type_method(name_return = false) return "InThisCase#{self.class.name}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_cleo-3.0.2 | test/models/category.rb |
acts_as_cleo-3.0.1 | test/models/category.rb |