Jeremy Kemper
|
ab9e4c0eaa
|
Ruby 1.9 compatibility. References #1689.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 18:54:55 +00:00 |
David Heinemeier Hansson
|
d8f2fea813
|
Turned on ActionView::Base.cache_template_loading by default in config/environments/production.rb to prevent file system stat calls for every template loading to see if it changed (this means that you have to restart the application to see template changes in production mode) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:10:48 +00:00 |
Jeremy Kemper
|
b1ce7e4d4a
|
Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 [Pratik Naik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 05:54:46 +00:00 |
Jeremy Kemper
|
9ccbb13563
|
Allow double quotes around RAILS_GEM_VERSION also. Closes #10443 [James Cox]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 03:19:27 +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
|
bff217272d
|
RAILS_GEM_VERSION may be set to any valid gem version specifier. Closes #10057.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 01:39:19 +00:00 |
Jeremy Kemper
|
4249ffe249
|
Load config/preinitializer.rb, if present, before loading the environment. Closes #9943.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 01:38:58 +00:00 |
David Heinemeier Hansson
|
b318134c99
|
Kill the whiny_protected_attributes setting and kill the exception raised. Instead, just log the mass-assignment misalignment as a debug warning (closes #9966)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-09 19:57:24 +00:00 |
Jeremy Kemper
|
2bfd6772a4
|
Use instead of STDERR in boot.rb. Closes #9988 [thewoolleyman]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 01:45:31 +00:00 |
Jeremy Kemper
|
2559feb539
|
Refactor and test boot.rb. Include tests from and closes #9834.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 05:36:52 +00:00 |
Jeremy Kemper
|
b98dcdec07
|
Merge [7832] from 1-2-stable: Correct RAILS_GEM_VERSION regexp. Use =version gem requirement instead of ~>version so you don't get surprised by a beta gem in production.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7964 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-18 17:28:55 +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 |
Jeremy Kemper
|
9929cb4ec2
|
config.active_record.whiny_protected_attributes. Closes #9816 [henrik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 20:37:19 +00:00 |
Jeremy Kemper
|
84a14f2620
|
Raise ProtectedAttributeAssignmentError in development and test environments when mass-assigning to an attr_protected attribute. Closes #9699.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 19:43:19 +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 |
Rick Olson
|
03f318718e
|
[7668] part deux (forgot to add the railties love to the mix)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 16:08:42 +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
|
70ac560e42
|
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-28 15:57:29 +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 |
Jeremy Kemper
|
2632664f64
|
Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 13:35:16 +00:00 |
Jeremy Kemper
|
8dfe5b78fa
|
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-06 09:22:07 +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
|
8f614a80e7
|
Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 20:44:45 +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 |
David Heinemeier Hansson
|
83dd1d8a03
|
Actually require the gem found
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 04:49:07 +00:00 |
David Heinemeier Hansson
|
958e9a36a9
|
Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 04:40:48 +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 |
David Heinemeier Hansson
|
0d8b8056be
|
Docfix (closes #6234)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 02:20:43 +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 |
David Heinemeier Hansson
|
c077a7308e
|
Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-07 18:21:52 +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
|
496725022a
|
Fixed that template extensions would be cached development mode #4624 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 18:08:31 +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 |
Nicholas Seckar
|
237cc945bb
|
Exit when no gem is found; expand on error message
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 06:22:57 +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 |
Nicholas Seckar
|
c10a2d2475
|
Teach Rails apps to only load gems of the same Rails version they were generated with.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 04:58:46 +00:00 |
David Heinemeier Hansson
|
4941475069
|
Turn RJS debugging on by default and show the source code when an exception is caught [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 07:19:27 +00:00 |
David Heinemeier Hansson
|
c4d6b8bb3c
|
Dont line up that which does not
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 06:13:26 +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 |