Class: RTM::AR::TMDM::Topic

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/rtm/activerecord/tmdm.rb,
lib/rtm/activerecord/quaaxtm2rtm.rb,
lib/rtm/activerecord/quaaxtm2rtmviews.rb

Overview

Instance Method Summary collapse

Instance Method Details

#scopedObject

def scoped_objects

  self.scoped_objects_topics.collect { |a| a.scoped_object } # temporary hack polymorphic has_many_through
end


199
200
201
# File 'lib/rtm/activerecord/tmdm.rb', line 199

def scoped
  scoped_associations + scoped_names + scoped_variants + scoped_occurrences
end

#typedObject



203
204
205
# File 'lib/rtm/activerecord/tmdm.rb', line 203

def typed
  typed_associations + typed_roles + typed_names + typed_occurrences
end