app/models/collection/member/base.rb in iqvoc-4.12.1 vs app/models/collection/member/base.rb in iqvoc-4.13.0
- old
+ new
@@ -12,18 +12,21 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-class Collection::Member::Base < ActiveRecord::Base
+class Collection::Member::Base < ApplicationRecord
self.table_name = 'collection_members'
class_attribute :rdf_namespace, :rdf_predicate
self.rdf_namespace = nil
self.rdf_predicate = nil
- belongs_to :collection, class_name: 'Collection::Base'
- belongs_to :target, class_name: 'Concept::Base'
+ belongs_to :collection,
+ class_name: 'Collection::Base'
+
+ belongs_to :target,
+ class_name: 'Concept::Base'
def self.view_section(obj)
'main'
end