Sha256: f94c9f56de3fc9a6d9748dd5670dafb5892d873c0c3bc11a56066bede94d1214
Contents?: true
Size: 488 Bytes
Versions: 107
Compression:
Stored size: 488 Bytes
Contents
var extend, extensions, root; root = typeof exports !== "undefined" && exports !== null ? exports : window; extend = require('assimilate'); extensions = { model: { human_attribute_name: function(attribute_name) { var _ref, _ref1; return ((_ref = this.translation) != null ? (_ref1 = _ref.attributes) != null ? _ref1[attribute_name] : void 0 : void 0) || attribute_name; } } }; model.mix(function(modelable) { return extend(modelable, extensions.model); });
Version data entries
107 entries across 94 versions & 1 rubygems