Sha256: 73e49ca586ecd78db293cf3e1195da73a900079536eb03909517cbaa7e3aed65

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

require 'rails_edge_load_path_patch.rb' unless I18n.respond_to?(:load_path)

ActiveRecord::Base.send :include, Globalize::Model::ActiveRecord::Translated

I18n.backend = Globalize::Backend::Static.new

I18n.load_path = Globalize::LoadPath.new I18n.load_path
I18n.load_path << "#{File.dirname(__FILE__)}/lib/locale"
I18n.load_path << "#{RAILS_ROOT}/lib/locale"

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
simonmenke-globalize2-0.0.1 rails/init.rb
simonmenke-globalize2-0.0.4 rails/init.rb
simonmenke-globalize2-0.0.5 rails/init.rb
simonmenke-globalize2-0.0.6 rails/init.rb
simonmenke-simonmenke-globalize2-0.0.2 rails/init.rb
simonmenke-globalize2-0.0.7 rails/init.rb