Sha256: 13fb73a33385a9e52f48357f80d32dab9c436103f831290017d39258e56b82da
Contents?: true
Size: 447 Bytes
Versions: 9
Compression:
Stored size: 447 Bytes
Contents
module CouchRest module Model module Translation include ActiveModel::Translation def lookup_ancestors #:nodoc: klass = self classes = [klass] return classes if klass == CouchRest::Model::Base while klass.superclass != CouchRest::Model::Base classes << klass = klass.superclass end classes end def i18n_scope :couchrest end end end end
Version data entries
9 entries across 9 versions & 1 rubygems