Sha256: 914c26805c13ccc139ae2a49f46241ca9038c280260fffa5bd09b000f1edf59a

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

module Rails
  def self.root
    File.join(Dir.pwd, 'tmp')
  end
  
  def self.env
    @@environment ||= 'development'
  end
  
  def self.env=(env)
    @@environment = env
  end
end

ActiveSupport::Inflector.inflections do |inflect|
  inflect.plural /^beta$/i, 'betas'
  inflect.singular /^betas$/i, 'beta'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thinking-sphinx-2.0.7 spec/support/rails.rb
thinking-sphinx-2.0.6 spec/support/rails.rb