public
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/halorgium/mephisto.git
Search Repo:
initial import


git-svn-id: http://svn.techno-weenie.net/projects/mephisto@512 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Dec 28 17:56:16 -0800 2005
commit  f58fd643948bc8432313929a25483e8453ac5bfe
tree    3adb1dd24fa08fcebedb8d6ca9907fb3858d2776
...
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -0,0 +1,10 @@
0
+# Add your own tasks in files placed in lib/tasks ending in .rake,
0
+# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
0
+
0
+require(File.join(File.dirname(__FILE__), 'config', 'boot'))
0
+
0
+require 'rake'
0
+require 'rake/testtask'
0
+require 'rake/rdoctask'
0
+
0
+require 'tasks/rails'
0
\ No newline at end of file
...
 
 
 
 
0
...
1
2
3
4
5
0
@@ -0,0 +1,4 @@
0
+# Filters added to this controller will be run for all controllers in the application.
0
+# Likewise, all the methods added will be available for all controllers.
0
+class ApplicationController < ActionController::Base
0
+end
0
\ No newline at end of file
...
 
 
 
...
1
2
3
0
@@ -0,0 +1,3 @@
0
+# Methods added to this helper will be available to all templates in the application.
0
+module ApplicationHelper
0
+end
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -0,0 +1,19 @@
0
+# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
0
+
0
+unless defined?(RAILS_ROOT)
0
+ root_path = File.join(File.dirname(__FILE__), '..')
0
+ unless RUBY_PLATFORM =~ /mswin32/
0
+ require 'pathname'
0
+ root_path = Pathname.new(root_path).cleanpath(true).to_s
0
+ end
0
+ RAILS_ROOT = root_path
0
+end
0
+
0
+if File.directory?("#{RAILS_ROOT}/vendor/rails")
0
+ require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
0
+else
0
+ require 'rubygems'
0
+ require 'initializer'
0
+end
0
+
0
+Rails::Initializer.run(:set_load_path)
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
0
@@ -0,0 +1,88 @@
0
+# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
0
+#
0
+# Install the MySQL driver:
0
+# gem install mysql
0
+# On MacOS X:
0
+# gem install mysql -- --include=/usr/local/lib
0
+# On Windows:
0
+# There is no gem for Windows. Install mysql.so from RubyForApache.
0
+# http://rubyforge.org/projects/rubyforapache
0
+#
0
+# And be sure to use new-style password hashing:
0
+# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
0
+development:
0
+ adapter: mysql
0
+ database: mephisto_development
0
+ username: root
0
+ password:
0
+ host: localhost
0
+
0
+# Warning: The database defined as 'test' will be erased and
0
+# re-generated from your development database when you run 'rake'.
0
+# Do not set this db to the same as development or production.
0
+test:
0
+ adapter: mysql
0
+ database: mephisto_test
0
+ username: root
0
+ password:
0
+ host: localhost
0
+
0
+production:
0
+ adapter: mysql
0
+ database: mephisto_production
0
+ username: root
0
+ password:
0
+ host: localhost
0
+
0
+
0
+### Example database connections. You can safely delete these. ###
0
+
0
+# PostgreSQL versions 7.4 - 8.1
0
+#
0
+# Get the C bindings:
0
+# gem install postgres
0
+# or use the pure-Ruby bindings on Windows:
0
+# gem install postgres-pr
0
+postgresql_example:
0
+ adapter: postgresql
0
+ database: mephisto_development
0
+ username: mephisto
0
+ password:
0
+
0
+ # Connect on a TCP socket. Omitted by default since the client uses a
0
+ # domain socket that doesn't need configuration. Windows does not have
0
+ # domain sockets, so uncomment these lines.
0
+ #host: localhost
0
+ #port: 5432
0
+
0
+ # Schema search path. The server defaults to $user,public
0
+ #schema_search_path: myapp,sharedapp,public
0
+
0
+ # Character set encoding. The server defaults to sql_ascii.
0
+ #encoding: UTF8
0
+
0
+ # Minimum log levels, in increasing order:
0
+ # debug5, debug4, debug3, debug2, debug1,
0
+ # info, notice, warning, error, log, fatal, or panic
0
+ # The server defaults to notice.
0
+ #min_messages: warning
0
+
0
+
0
+# SQLite version 2.x
0
+# gem install sqlite-ruby
0
+sqlite_example:
0
+ adapter: sqlite
0
+ database: db/development.sqlite2
0
+
0
+
0
+# SQLite version 3.x
0
+# gem install sqlite3-ruby
0
+sqlite3_example:
0
+ adapter: sqlite3
0
+ database: db/development.sqlite3
0
+
0
+
0
+# In-memory SQLite 3 database. Useful for tests.
0
+sqlite3_in_memory_example:
0
+ adapter: sqlite3
0
+ database: ":memory:"
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
0
@@ -0,0 +1,53 @@
0
+# Be sure to restart your web server when you modify this file.
0
+
0
+# Uncomment below to force Rails into production mode when
0
+# you don't control web/app server and can't set it the proper way
0
+# ENV['RAILS_ENV'] ||= 'production'
0
+
0
+# Bootstrap the Rails environment, frameworks, and default configuration
0
+require File.join(File.dirname(__FILE__), 'boot')
0
+
0
+Rails::Initializer.run do |config|
0
+ # Settings in config/environments/* take precedence those specified here
0
+
0
+ # Skip frameworks you're not going to use
0
+ # config.frameworks -= [ :action_web_service, :action_mailer ]
0
+
0
+ # Add additional load paths for your own custom dirs
0
+ # config.load_paths += %W( #{RAILS_ROOT}/extras )
0
+
0
+ # Force all environments to use the same logger level
0
+ # (by default production uses :info, the others :debug)
0
+ # config.log_level = :debug
0
+
0
+ # Use the database for sessions instead of the file system
0
+ # (create the session table with 'rake create_sessions_table')
0
+ # config.action_controller.session_store = :active_record_store
0
+
0
+ # Enable page/fragment caching by setting a file-based store
0
+ # (remember to create the caching directory and make it readable to the application)
0
+ # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
0
+
0
+ # Activate observers that should always be running
0
+ # config.active_record.observers = :cacher, :garbage_collector
0
+
0
+ # Make Active Record use UTC-base instead of local time
0
+ # config.active_record.default_timezone = :utc
0
+
0
+ # Use Active Record's schema dumper instead of SQL when creating the test database
0
+ # (enables use of different database adapters for development and test environments)
0
+ # config.active_record.schema_format = :ruby
0
+
0
+ # See Rails::Configuration for more options
0
+end
0
+
0
+# Add new inflection rules using the following format
0
+# (all these examples are active by default):
0
+# Inflector.inflections do |inflect|
0
+# inflect.plural /^(ox)$/i, '\1en'
0
+# inflect.singular /^(ox)en/i, '\1'
0
+# inflect.irregular 'person', 'people'
0
+# inflect.uncountable %w( fish sheep )
0
+# end
0
+
0
+# Include your application configuration below
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -0,0 +1,19 @@
0
+# Settings specified here will take precedence over those in config/environment.rb
0
+
0
+# In the development environment your application's code is reloaded on
0
+# every request. This slows down response time but is perfect for development
0
+# since you don't have to restart the webserver when you make code changes.
0
+config.cache_classes = false
0
+
0
+# Log error messages when you accidentally call methods on nil.
0
+config.whiny_nils = true
0
+
0
+# Enable the breakpoint server that script/breakpointer connects to
0
+config.breakpoint_server = true
0
+
0
+# Show full error reports and disable caching
0
+config.action_controller.consider_all_requests_local = true
0
+config.action_controller.perform_caching = false
0
+
0
+# Don't care if the mailer can't send
0
+config.action_mailer.raise_delivery_errors = false
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -0,0 +1,19 @@
0
+# Settings specified here will take precedence over those in config/environment.rb
0
+
0
+# The production environment is meant for finished, "live" apps.
0
+# Code is not reloaded between requests
0
+config.cache_classes = true
0
+
0
+# Use a different logger for distributed setups
0
+# config.logger = SyslogLogger.new
0
+
0
+
0
+# Full error reports are disabled and caching is turned on
0
+config.action_controller.consider_all_requests_local = false
0
+config.action_controller.perform_caching = true
0
+
0
+# Enable serving of images, stylesheets, and javascripts from an asset server
0
+# config.action_controller.asset_host = "http://assets.example.com"
0
+
0
+# Disable delivery errors if you bad email addresses should just be ignored
0
+# config.action_mailer.raise_delivery_errors = false
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -0,0 +1,19 @@
0
+# Settings specified here will take precedence over those in config/environment.rb
0
+
0
+# The test environment is used exclusively to run your application's
0
+# test suite. You never need to work with it otherwise. Remember that
0
+# your test database is "scratch space" for the test suite and is wiped
0
+# and recreated between test runs. Don't rely on the data there!
0
+config.cache_classes = true
0
+
0
+# Log error messages when you accidentally call methods on nil.
0
+config.whiny_nils = true
0
+
0
+# Show full error reports and disable caching
0
+config.action_controller.consider_all_requests_local = true
0
+config.action_controller.perform_caching = false
0
+
0
+# Tell ActionMailer not to deliver emails to the real world.
0
+# The :test delivery method accumulates sent emails in the
0
+# ActionMailer::Base.deliveries array.
0
+config.action_mailer.delivery_method = :test
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -0,0 +1,19 @@
0
+ActionController::Routing::Routes.draw do |map|
0
+ # Add your own custom routes here.
0
+ # The priority is based upon order of creation: first created -> highest priority.
0
+
0
+ # Here's a sample route:
0
+ # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
0
+ # Keep in mind you can assign values other than :controller and :action
0
+
0
+ # You can have the root of your site routed by hooking up ''
0
+ # -- just remember to delete public/index.html.
0
+ # map.connect '', :controller => "welcome"
0
+
0
+ # Allow downloading Web Service WSDL as a file with an extension
0
+ # instead of a file named 'wsdl'
0
+ map.connect ':controller/service.wsdl', :action => 'wsdl'
0
+
0
+ # Install the default route as the lowest priority.
0
+ map.connect ':controller/:action/:id'
0
+end
...
 
 
0
...
1
2
3
0
@@ -0,0 +1,2 @@
0
+Use this README file to introduce your application and point to useful places in the API for learning more.
0
+Run "rake appdoc" to generate API documentation for your models and controllers.
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
0
@@ -0,0 +1,40 @@
0
+# General Apache options
0
+AddHandler fastcgi-script .fcgi
0
+AddHandler cgi-script .cgi
0
+Options +FollowSymLinks +ExecCGI
0
+
0
+# If you don't want Rails to look in certain directories,
0
+# use the following rewrite rules so that Apache won't rewrite certain requests
0
+#
0
+# Example:
0
+# RewriteCond %{REQUEST_URI} ^/notrails.*
0
+# RewriteRule .* - [L]
0
+
0
+# Redirect all requests not available on the filesystem to Rails
0
+# By default the cgi dispatcher is used which is very slow
0
+#
0
+# For better performance replace the dispatcher with the fastcgi one
0
+#
0
+# Example:
0
+# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
0
+RewriteEngine On
0
+
0
+# If your Rails application is accessed via an Alias directive,
0
+# then you MUST also set the RewriteBase in this htaccess file.
0
+#
0
+# Example:
0
+# Alias /myrailsapp /path/to/myrailsapp/public
0
+# RewriteBase /myrailsapp
0
+
0
+RewriteRule ^$ index.html [QSA]
0
+RewriteRule ^([^.]+)$ $1.html [QSA]
0
+RewriteCond %{REQUEST_FILENAME} !-f
0
+RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
0
+
0
+# In case Rails experiences terminal errors
0
+# Instead of displaying this message you can supply a file here which will be rendered instead
0
+#
0
+# Example:
0
+# ErrorDocument 500 /500.html
0
+
0
+ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
0
@@ -0,0 +1,8 @@
0
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
+ "http://www.w3.org/TR/html4/loose.dtd">
0
+<html>
0
+<body>
0
+ <h1>File not found</h1>
0
+ <p>Change this error message for pages not found in public/404.html</p>
0
+</body>
0
+</html>
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
0
@@ -0,0 +1,8 @@
0
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
+ "http://www.w3.org/TR/html4/loose.dtd">
0
+<html>
0
+<body>
0
+ <h1>Application error (Apache)</h1>
0
+ <p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
0
+</body>
0
+</html>
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -0,0 +1,10 @@
0
+#!/opt/local/bin/ruby
0
+
0
+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
0
+
0
+# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
0
+# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
0
+require "dispatcher"
0
+
0
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
0
+Dispatcher.dispatch
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
0
@@ -0,0 +1,24 @@
0
+#!/opt/local/bin/ruby
0
+#
0
+# You may specify the path to the FastCGI crash log (a log of unhandled
0
+# exceptions which forced the FastCGI instance to exit, great for debugging)
0
+# and the number of requests to process before running garbage collection.
0
+#
0
+# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
0
+# and the GC period is nil (turned off). A reasonable number of requests
0
+# could range from 10-100 depending on the memory footprint of your app.
0
+#
0
+# Example:
0
+# # Default log path, normal GC behavior.
0
+# RailsFCGIHandler.process!
0
+#
0
+# # Default log path, 50 requests between GC.
0
+# RailsFCGIHandler.process! nil, 50
0
+#
0
+# # Custom log path, normal GC behavior.
0
+# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
0
+#
0
+require File.dirname(__FILE__) + "/../config/environment"
0
+require 'fcgi_handler'
0
+
0
+RailsFCGIHandler.process!
...
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -0,0 +1,10 @@
0
+#!/opt/local/bin/ruby
0
+
0
+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
0
+
0
+# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
0
+# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
0
+require "dispatcher"
0
+
0
+ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
0
+Dispatcher.dispatch
0
\ No newline at end of file
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
0
@@ -0,0 +1,277 @@
0
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
0
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0
+<html>
0
+ <head>
0
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
0
+ <title>Ruby on Rails: Welcome aboard</title>
0
+ <style type="text/css" media="screen">
0
+ body {
0
+ margin: 0;
0
+ margin-bottom: 25px;
0
+ padding: 0;
0
+ background-color: #f0f0f0;
0
+ font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
0
+ font-size: 13px;
0
+ color: #333;
0
+ }
0
+
0
+ h1 {
0
+ font-size: 28px;
0
+ color: #000;
0
+ }
0
+
0
+ a {color: #03c}
0
+ a:hover {
0
+ background-color: #03c;
0
+ color: white;
0
+ text-decoration: none;
0
+ }
0
+
0
+
0
+ #page {
0
+ background-color: #f0f0f0;
0
+ width: 750px;
0
+ margin: 0;
0
+ margin-left: auto;
0
+ margin-right: auto;
0
+ }
0
+
0
+ #content {
0
+ float: left;
0
+ background-color: white;
0
+ border: 3px solid #aaa;
0
+ border-top: none;
0
+ padding: 25px;
0
+ width: 500px;
0
+ }
0
+
0
+ #sidebar {
0
+ float: right;
0
+ width: 175px;
0
+ }
0
+
0
+ #footer {
0
+ clear: both;
0
+ }
0
+
0
+
0
+ #header, #about, #getting-started {
0
+ padding-left: 75px;
0
+ padding-right: 30px;
0
+ }
0
+
0
+
0
+ #header {
0
+ background-image: url("images/rails.png");
0
+ background-repeat: no-repeat;
0
+ background-position: top left;
0
+ height: 64px;
0
+ }
0
+ #header h1, #header h2 {margin: 0}
0
+ #header h2 {
0
+ color: #888;
0
+ font-weight: normal;
0
+ font-size: 16px;
0
+ }
0
+
0
+
0
+ #about h3 {
0
+ margin: 0;
0
+ margin-bottom: 10px;
0
+ font-size: 14px;
0
+ }
0
+
0
+ #about-content {
0
+ background-color: #ffd;
0
+ border: 1px solid #fc0;
0
+ margin-left: -11px;
0
+ }
0
+ #about-content table {
0
+ margin-top: 10px;
0
+ margin-bottom: 10px;
0
+ font-size: 11px;
0
+ border-collapse: collapse;
0
+ }
0
+ #about-content td {
0
+ padding: 10px;
0
+ padding-top: 3px;
0
+ padding-bottom: 3px;
0
+ }
0
+ #about-content td.name {color: #555}
0
+ #about-content td.value {color: #000}
0
+
0
+ #about-content.failure {
0
+ background-color: #fcc;
0
+ border: 1px solid #f00;
0
+ }
0
+ #about-content.failure p {
0
+ margin: 0;
0
+ padding: 10px;
0
+ }
0
+
0
+
0
+ #getting-started {
0
+ border-top: 1px solid #ccc;
0
+ margin-top: 25px;
0
+ padding-top: 15px;
0
+ }
0
+ #getting-started h1 {
0
+ margin: 0;
0
+ font-size: 20px;
0
+ }
0
+ #getting-started h2 {
0
+ margin: 0;
0
+ font-size: 14px;
0
+ font-weight: normal;
0
+ color: #333;
0
+ margin-bottom: 25px;
0
+ }
0
+ #getting-started ol {
0
+ margin-left: 0;
0
+ padding-left: 0;
0
+ }
0
+ #getting-started li {
0
+ font-size: 18px;
0
+ color: #888;
0
+ margin-bottom: 25px;
0
+ }
0
+ #getting-started li h2 {
0
+ margin: 0;
0
+ font-weight: normal;
0
+ font-size: 18px;
0
+ color: #333;
0
+ }
0
+ #getting-started li p {
0
+ color: #555;
0
+ font-size: 13px;
0
+ }
0
+
0
+
0
+ #search {
0
+ margin: 0;
0
+ padding-top: 10px;
0
+ padding-bottom: 10px;
0
+ font-size: 11px;
0
+ }
0
+ #search input {
0
+ font-size: 11px;
0
+ margin: 2px;
0
+ }
0
+ #search-text {width: 170px}
0
+
0
+
0
+ #sidebar ul {
0
+ margin-left: 0;
0
+ padding-left: 0;
0
+ }
0
+ #sidebar ul h3 {
0
+ margin-top: 25px;
0
+ font-size: 16px;
0
+ padding-bottom: 10px;
0
+ border-bottom: 1px solid #ccc;
0
+ }
0
+ #sidebar li {
0
+ list-style-type: none;
0
+ }
0
+ #sidebar ul.links li {
0
+ margin-bottom: 5px;
0
+ }
0
+
0
+ </style>
0
+ <script type="text/javascript" src="javascripts/prototype.js"></script>
0
+ <script type="text/javascript" src="javascripts/effects.js"></script>
0
+ <script type="text/javascript">
0
+ function about() {
0
+ if (Element.empty('about-content')) {
0
+ new Ajax.Updater('about-content', 'rails_info/properties', {
0
+ method: 'get',
0
+ onFailure: function() {Element.classNames('about-content').add('failure')},
0
+ onComplete: function() {new Effect.BlindDown('about-content', {duration: 0.25})}
0
+ });
0
+ } else {
0
+ new Effect[Element.visible('about-content') ?
0
+ 'BlindUp' : 'BlindDown']('about-content', {duration: 0.25});
0
+ }
0
+ }
0
+
0
+ window.onload = function() {
0
+ $('search-text').value = '';
0
+ $('search').onsubmit = function() {
0
+ $('search-text').value = 'site:rubyonrails.org ' + $F('search-text');
0
+ }
0
+ }
0
+ </script>
0
+ </head>
0
+ <body>
0
+ <div id="page">
0
+ <div id="sidebar">
0
+ <ul id="sidebar-items">
0
+ <li>
0
+ <form id="search" action="http://www.google.com/search" method="get">
0
+ <input type="hidden" name="hl" value="en" />
0
+ <input type="text" id="search-text" name="q" value="site:rubyonrails.org " />
0
+ <input type="submit" value="Search" /> the Rails site
0
+ </form>
0
+ </li>
0
+
0
+ <li>
0
+ <h3>Join the community</h3>
0
+ <ul class="links">
0
+ <li><a href="http://www.rubyonrails.org/">Ruby on Rails</a></li>
0
+ <li><a href="http://weblog.rubyonrails.org/">Official weblog</a></li>
0
+ <li><a href="http://lists.rubyonrails.org/">Mailing lists</a></li>
0
+ <li><a href="http://wiki.rubyonrails.org/rails/pages/IRC">IRC channel</a></li>
0
+ <li><a href="http://wiki.rubyonrails.org/">Wiki</a></li>
0
+ <li><a href="http://dev.rubyonrails.org/">Bug tracker</a></li>
0
+ </ul>
0
+ </li>
0
+
0
+ <li>
0
+ <h3>Browse the documentation</h3>
0
+ <ul class="links">
0
+ <li><a href="http://api.rubyonrails.org/">Rails API</a></li>