Xavier Noria
|
4a745ca670
|
deprecates load_(once_)paths in dependencies and app config in favor of autolaod_(once_)paths
|
2010-06-24 00:00:45 +02:00 |
|
David Heinemeier Hansson
|
bf024b6a11
|
Github comments are an excellent way to perform community code review -- keep it up!
|
2008-12-01 23:06:29 -06:00 |
|
David Heinemeier Hansson
|
6e66e7d646
|
Even more polish of the default configration files and split off the session store configuration into its own file
|
2008-11-30 15:53:21 -06:00 |
|
David Heinemeier Hansson
|
6358e6c107
|
More organization based on priority
|
2008-11-30 15:06:55 -06:00 |
|
David Heinemeier Hansson
|
201b64b4e1
|
Cleanup other examples and wording
|
2008-11-30 14:53:22 -06:00 |
|
David Heinemeier Hansson
|
0eac9daa0a
|
Rails::Configuration never had more details. Stop lying about it
|
2008-11-30 14:46:11 -06:00 |
|
David Heinemeier Hansson
|
5c26b2e47b
|
Its no longer common to run Rails in environments where you cant set the environment to be the production one. Dont need a notice telling about the ENV var that prominently any more
|
2008-11-30 14:44:56 -06:00 |
|
David Heinemeier Hansson
|
0c9f677e78
|
Another piece of markup removed from environment.rb
|
2008-11-19 12:37:04 +01:00 |
|
David Heinemeier Hansson
|
53eba2f218
|
The docs in environment.rb are not going to be rendered so it doesnt make sense to mark them up
|
2008-11-19 12:31:34 +01:00 |
|
David Heinemeier Hansson
|
d9b92ee11b
|
Added config.i18n settings gatherer to config/environment, auto-loading of all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
|
2008-11-18 14:23:13 +01:00 |
|
Pratik Naik
|
9cb5400871
|
Merge docrails
|
2008-10-16 22:13:06 +02:00 |
|
Pratik Naik
|
6ef35461dc
|
Merge docrails
|
2008-09-03 17:58:47 +01:00 |
|
Nigel Ramsay
|
b36d000975
|
Inline help text was incorrectly telling user to uncomment line to use default local time. User should comment the line to use default local time.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#960 state:committed]
|
2008-09-03 09:04:42 +02:00 |
|
Joshua Peek
|
3a9775076f
|
Removed suggestion for turning off partial updates.
|
2008-05-31 15:34:01 -07:00 |
|
Pratik Naik
|
98dc582742
|
Merge docrails.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-25 12:29:00 +01:00 |
|
Michael Koziarski
|
5b8d0f134a
|
Mention partial updates in environment.rb to make it easier for people to opt-in if they know it's safe
|
2008-05-23 09:07:38 +12:00 |
|
David Heinemeier Hansson
|
4e07037afa
|
gems should be specified before plugins
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 17:15:31 +00:00 |
|
David Heinemeier Hansson
|
8f8f822fa6
|
Added examples for config.gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 17:13:05 +00:00 |
|
David Heinemeier Hansson
|
35d3ede974
|
New applications should use UTC as the default time zone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 21:01:30 +00:00 |
|
Geoff Buesing
|
ea285c2f78
|
Correct grammar in config.time_zone description in environment.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-22 05:27:07 +00:00 |
|
Geoff Buesing
|
1ec8a7f4e0
|
Added config.time_zone = 'UTC' as a commented-out option in the default environment.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-22 02:23:09 +00:00 |
|
Michael Koziarski
|
1a59aa5196
|
Update generated comments to reflect the fact that config.frameworks works fine with gems now. Closes #11135 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 09:11:31 +00:00 |
|
David Heinemeier Hansson
|
13ab54db48
|
Cleanup documentation a bit and be more specific
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 20:54:43 +00:00 |
|
David Heinemeier Hansson
|
86883a87cc
|
Cleanup documentation a bit and be more specific
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 15:55:57 +00:00 |
|
Jeremy Kemper
|
a9eaa25a66
|
Fix environment.rb typos. Closes #9859 [fxn, mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-14 03:09:20 +00:00 |
|
David Heinemeier Hansson
|
1b56d32893
|
Remind that you need a server restart for initializer defaults
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 21:47:38 +00:00 |
|
David Heinemeier Hansson
|
6dd10d85da
|
Added the :all option to config.plugins thatll include the rest of the plugins not already explicitly named (closes #9613) [fcheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-21 22:31:19 +00:00 |
|
David Heinemeier Hansson
|
2fba012c01
|
Inform people that were using the cookie store as default and a caveat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-15 21:22:27 +00:00 |
|
Jeremy Kemper
|
e2ad603f52
|
Normalize whitespace. Closes #8385 [Time Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-27 18:44:33 +00:00 |
|
David Heinemeier Hansson
|
df41c7cb61
|
Include Active Resource instead of Action Web Service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-23 18:55:54 +00:00 |
|
Rick Olson
|
ad9bacb189
|
fix app generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-24 22:36:52 +00:00 |
|
David Heinemeier Hansson
|
c6d6082562
|
Added config/initializers where all ruby files within it are automatically loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:32:27 +00:00 |
|
David Heinemeier Hansson
|
b50a05cac3
|
Move session settings closer together
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:09:22 +00:00 |
|
Jeremy Kemper
|
223509ba7d
|
Oops, don't omit the session_key since it's used as the cookie name.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-22 01:07:51 +00:00 |
|
Jeremy Kemper
|
5a1251dc2d
|
Session configuration in config/environment.rb instead of app/controllers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-22 00:57:02 +00:00 |
|
David Heinemeier Hansson
|
f15d52fc4a
|
Added text/csv as a default mime type and included example on how to make your own in config/environment.rb [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 17:25:52 +00:00 |
|
Michael Koziarski
|
92365291b2
|
Revert environment changes for autoload_paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-31 01:29:34 +00:00 |
|
Michael Koziarski
|
c08997405d
|
Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 07:26:18 +00:00 |
|
David Heinemeier Hansson
|
c1a52510ea
|
Added config.plugins to control which plugins are loaded #6269 [skaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-17 20:27:03 +00:00 |
|
Marcel Molina
|
94e3e22eb8
|
Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 19:29:35 +00:00 |
|
Nicholas Seckar
|
7d3092478c
|
Don't match commented out RAILS_GEM_VERSIONs.
Avoid "Constant already defined" warnings for RAILS_GEM_VERSION.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-07 17:48:47 +00:00 |
|
David Heinemeier Hansson
|
d08f838c0e
|
Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 06:29:32 +00:00 |
|
David Heinemeier Hansson
|
53e1e50e04
|
Specify gem version in environment.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 05:55:47 +00:00 |
|
David Heinemeier Hansson
|
74f02246ca
|
Doc fix (closes #4210) [Caio Chassot ]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 21:19:01 +00:00 |
|
David Heinemeier Hansson
|
660952e5b0
|
CHANGED DEFAULT: ActiveRecord::Base.schema_format is now :ruby by default instead of :sql. This means that we'll assume you want to live in the world of db/schema.rb where the grass is green and the girls are pretty. If your schema contains un-dumpable elements, such as constraints or database-specific column types, you just got an invitation to either 1) patch the dumper to include foreign key support, 2) stop being db specific, or 3) just change the default in config/environment.rb to config.active_record.schema_format = :sql -- we even include an example for that on new Rails skeletons now. Brought to you by the federation of opinionated framework builders! [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-27 00:23:49 +00:00 |
|
David Heinemeier Hansson
|
1aea4704dc
|
Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-25 20:26:14 +00:00 |
|
David Heinemeier Hansson
|
ef338e4de4
|
Prepare order for uncommenting, use consistent opt options [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-25 18:52:52 +00:00 |
|
David Heinemeier Hansson
|
773b869088
|
Another word on precedence (closes #2790)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-09 15:35:37 +00:00 |
|
David Heinemeier Hansson
|
5c48a89a7f
|
Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = "production" in config/environment.rb doesnt wreck havok [DHH] (closes #2660)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-09 15:11:55 +00:00 |
|
David Heinemeier Hansson
|
6422f8b463
|
Increase criticality in comment for ENV["RAILS_ENV"]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-09 14:03:54 +00:00 |
|