Sha256: 53cf6c32899813c34cb03583595d36db6d8459a3a2bb4c7cef75df6f0cbdb84c
Contents?: true
Size: 315 Bytes
Versions: 7
Compression:
Stored size: 315 Bytes
Contents
require "traco/attribute_setup" module Traco module Translates def translates(*attributes) options = attributes.extract_options! attributes = attributes.map(&:to_sym) AttributeSetup.new(self).set_up(attributes, options) end end end ActiveRecord::Base.send :extend, Traco::Translates
Version data entries
7 entries across 7 versions & 1 rubygems