Added processing and presentatin of results.
[selectricity-live] / config / environment.rb
1 # Be sure to restart your web server when you modify this file.
2
3 # Uncomment below to force Rails into production mode
4 # (Use only when you can't set environment variables through your web/app server)
5 # ENV['RAILS_ENV'] ||= 'production'
6
7 # Bootstrap the Rails environment, frameworks, and default configuration
8 require File.join(File.dirname(__FILE__), 'boot')
9
10 Rails::Initializer.run do |config|
11   # Skip frameworks you're not going to use
12   # config.frameworks -= [ :action_web_service, :action_mailer ]
13
14   # Add additional load paths for your own custom dirs
15   # config.load_paths += %W( #{RAILS_ROOT}/extras )
16
17   # Force all environments to use the same logger level 
18   # (by default production uses :info, the others :debug)
19   # config.log_level = :debug
20
21   # Use the database for sessions instead of the file system
22   # (create the session table with 'rake create_sessions_table')
23   # config.action_controller.session_store = :active_record_store
24
25   # Enable page/fragment caching by setting a file-based store
26   # (remember to create the caching directory and make it readable to the application)
27   # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
28
29   # Activate observers that should always be running
30   # config.active_record.observers = :cacher, :garbage_collector
31
32   # Make Active Record use UTC-base instead of local time
33   # config.active_record.default_timezone = :utc
34   
35   # Use Active Record's schema dumper instead of SQL when creating the test database
36   # (enables use of different database adapters for development and test environments)
37   # config.active_record.schema_format = :ruby
38
39   # See Rails::Configuration for more options
40 end
41
42 # Add new inflection rules using the following format 
43 # (all these examples are active by default):
44 # Inflector.inflections do |inflect|
45 #   inflect.plural /^(ox)$/i, '\1en'
46 #   inflect.singular /^(ox)en/i, '\1'
47 #   inflect.irregular 'person', 'people'
48 #   inflect.uncountable %w( fish sheep )
49 # end
50
51 # Include your application configuration below
52
53 require 'uniq_token' 
54 require 'randarray' 
55 require 'rubyvote'

Benjamin Mako Hill || Want to submit a patch?