On Mon, Oct 28, 2013 at 5:12 PM, Colin Law wrote:
Can you paste your environment.rb here please?

Colin
Thanks Colin!

# Be sure to restart your web server when you modify this file.

# Uncomment below to force Rails into production mode when
# you don't control web/app server and can't set it the proper way
# ENV['RAILS_ENV'] ||= 'production'

# Specifies gem version of Rails to use when vendor/rails is not present
# RAILS_GEM_VERSION = '2.1.2' unless defined? RAILS_GEM_VERSION

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
require 'paginator'

Rails::Initializer.run do |config|

   # Settings in config/environments/* take precedence those specified here

   # Skip frameworks you're not going to use
   #config.frameworks -= [ :action_web_service, :action_mailer ]

   # Add additional load paths for your own custom dirs
   # config.load_paths += %W( #{RAILS_ROOT}/extras )
   config.load_paths += %W( #{RAILS_ROOT}/app/reports )

   # Required for Ruports: ############
    config.after_initialize do
       require "ruport"
     end
   # **SEE CONFIG_LOAD_PATHS ABOVE and require "app/reports/templates"
BELOW**
   ###########################

   # Force all environments to use the same logger level
   # (by default production uses :info, the others :debug)
   # config.log_level = :debug

   # Use the database for sessions instead of the file system
   # which shouldn't be used to store highly confidential information
   # (create the session table with 'rake db:sessions:create')
   config.action_controller.session_store = :active_record_store

   # Use SQL instead of Active Record's schema dumper when creating the test
database.
   # This is necessary if your schema can't be completely dumped by the
schema dumper,
   # like if you have constraints or database-specific column types
   # config.active_record.schema_format = :sql

   # Activate observers that should always be running
   # config.active_record.observers = :cacher, :garbage_collector

   # Make Time.zone default to the specified zone, and make Active Record
store time values
      # in the database in UTC, and return them converted to the specified
local zone.
      # Run "rake -D time" for a list of tasks for finding time zone names.
Comment line to use default local time.
   config.active_record.default_timezone = :utc


   # See Rails::Configuration for more options

   # Your secret key for verifying cookie session data integrity.
    # If you change this key, all old sessions will become invalid!
    # Make sure the secret is at least 30 characters and all random,
    # no regular words or you'll be exposed to dictionary attacks.
  config.action_controller.session = {
     :key => "_gg_session",
    :secret =>
"caf079519f0a811fa0ba9a0a3202c93f62d9f86ca4f1981harverdouccioe55e3869ee4aa8cbb48aecb518f1059103b7eb49b513f4d6ddc40d92e9488785eb90689229ad"
   }

   config.gem "authlogic"
   config.gem "actionmailer"
   config.gem "calendar_date_select"
   config.gem "paginator"
   config.gem "builder"
end

require "app/reports/templates"

# Add new inflection rules using the following format
# (all these examples are active by default):
# Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end



# Include your application configuration below

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAHNhKXhJO%3Dt95cTPPa%3Dhixbxpq3uM6ryeaaDWKBtJbA9K3ZZA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 23 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 28, '13 at 7:45p
activeOct 29, '13 at 2:43a
posts23
users5
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase