Sha256: 5a7c49624ad01d0739f06958c7d5517d56790c8f7a2ce682bf451c4b2d180768

Contents?: true

Size: 484 Bytes

Versions: 16

Compression:

Stored size: 484 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

  def self.application
    @@application ||= begin
      railties = Struct.new(:engines).new([])
      Struct.new(:paths, :railties).new(Hash.new([]), railties)
    end
  end
end

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

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
friendlyfashion-thinking-sphinx-2.0.14.4 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.14.3 spec/support/rails.rb
thinking-sphinx-2.1.0 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.14.2 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.14.1 spec/support/rails.rb
thinking-sphinx-2.0.14 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.13.3 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.13.2 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.13.1 spec/support/rails.rb
friendlyfashion-thinking-sphinx-2.0.13 spec/support/rails.rb
thinking-sphinx-2.0.13 spec/support/rails.rb
thinking-sphinx-2.0.12 spec/support/rails.rb
thinking-sphinx-2.0.11 spec/support/rails.rb
thinking-sphinx-2.0.10 spec/support/rails.rb
thinking-sphinx-2.0.9 spec/support/rails.rb
thinking-sphinx-2.0.8 spec/support/rails.rb