Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 208
- Log:
First attempt at Gullery configured for the ROOL site. Unfroze the
Rails revision by deleting vendor/rails; Hub integration by a veneer
in the lib/authenticated_system.rb (Acts As Authenticated) plug-in,
plus some view changes and protection for the Account controller;
rewrote the default layout in .rhtml rather than .mab; plus the
usual set of configuration changes to work from a subdirectory and
with the ROOL database server.
- Author:
- rool
- Date:
- Sun May 20 19:12:33 +0100 2007
- Size:
- 2505 Bytes
1 | # Be sure to restart your web server when you modify this file. |
2 | |
3 | # Uncomment below to force Rails into production mode when |
4 | # you don't control web/app server and can't set it the proper way |
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 | PATH_PREFIX = ENV['RAILS_RELATIVE_URL_ROOT'] |
11 | |
12 | Rails::Initializer.run do |config| |
13 | # We don't run in the document root, so images etc. must come from |
14 | # a non-root location too. Hijack the 'asset host' facility to get |
15 | # helper-based links pointing in the right place. |
16 | config.action_controller.asset_host = PATH_PREFIX |
17 | |
18 | # Settings in config/environments/* take precedence those specified here |
19 | |
20 | # Skip frameworks you're not going to use |
21 | # config.frameworks -= [ :action_web_service, :action_mailer ] |
22 | |
23 | # Add additional load paths for your own custom dirs |
24 | # config.load_paths += %W( #{RAILS_ROOT}/extras ) |
25 | |
26 | # Force all environments to use the same logger level |
27 | # (by default production uses :info, the others :debug) |
28 | config.log_level = :warn |
29 | |
30 | # Use the database for sessions instead of the file system |
31 | # (create the session table with 'rake create_sessions_table') |
32 | config.action_controller.session_store = :active_record_store |
33 | |
34 | # Enable page/fragment caching by setting a file-based store |
35 | # (remember to create the caching directory and make it readable to the application) |
36 | # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" |
37 | |
38 | # Activate observers that should always be running |
39 | # config.active_record.observers = :cacher, :garbage_collector |
40 | |
41 | # Make Active Record use UTC-base instead of local time |
42 | config.active_record.default_timezone = :utc |
43 | |
44 | # Use Active Record's schema dumper instead of SQL when creating the test database |
45 | # (enables use of different database adapters for development and test environments) |
46 | config.active_record.schema_format = :ruby |
47 | |
48 | # See Rails::Configuration for more options |
49 | end |
50 | |
51 | # Add new inflection rules using the following format |
52 | # (all these examples are active by default): |
53 | # Inflector.inflections do |inflect| |
54 | # inflect.plural /^(ox)$/i, '\1en' |
55 | # inflect.singular /^(ox)en/i, '\1' |
56 | # inflect.irregular 'person', 'people' |
57 | # inflect.uncountable %w( fish sheep ) |
58 | # end |
59 | |
60 | # Include your application configuration below |
61 | |
62 | require 'taggable' |
63 | |
64 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'gulleryapp_session_id' |
65 |