Sha256: bb761cbd1fd8327ac372a192f43dd95a26cbdaaef29e8593bc3c6f2c5f1951a3

Contents?: true

Size: 469 Bytes

Versions: 21

Compression:

Stored size: 469 Bytes

Contents

require 'mail'

# Spree Configuration
SESSION_KEY = '_spree_session_id'

# TODO - Add the lib/plugins stuff maybe?
#::ActiveRecord::Base.send :include, Spree::Preferences::Preferable

# Add extra support goodies (similar to rails active support)
#class Array #:nodoc:
#  include Spree::Support::CoreExtensions::Array
#end

String.class_eval do
  include Spree::Core::Ext::String
end

LIKE = ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' ? 'ILIKE' : 'LIKE'

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spree_core-1.1.6 config/initializers/spree.rb
spree_core-1.1.5 config/initializers/spree.rb
spree_core-1.0.7 config/initializers/spree.rb
spree_core-1.1.4 config/initializers/spree.rb
spree_core-1.1.3 config/initializers/spree.rb
spree_core-1.0.6 config/initializers/spree.rb
spree_core-1.1.2 config/initializers/spree.rb
spree_core-1.1.2.rc1 config/initializers/spree.rb
spree_core-1.1.1 config/initializers/spree.rb
spree_core-1.1.0 config/initializers/spree.rb
spree_core-1.0.4 config/initializers/spree.rb
spree_core-1.1.0.rc2 config/initializers/spree.rb
spree_core-1.1.0.rc1 config/initializers/spree.rb
spree_core-1.0.3 config/initializers/spree.rb
spree_core-1.0.2 config/initializers/spree.rb
spree_core-1.0.1 config/initializers/spree.rb
spree_core-1.0.0 config/initializers/spree.rb
spree_core-1.0.0.rc4 config/initializers/spree.rb
spree_core-1.0.0.rc3 config/initializers/spree.rb
spree_core-1.0.0.rc2 config/initializers/spree.rb