Commit Graph

2218 Commits

Author SHA1 Message Date
Tobias Lütke
0279949b05 added assert_valid to AP
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 02:20:53 +00:00
David Heinemeier Hansson
5e5c332c3e Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf 2005]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 01:40:03 +00:00
Nicholas Seckar
67e900c0f4 Fix bad commit. (Bad developer, bad\!)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 01:20:43 +00:00
Jamis Buck
8b496a13d2 Add documentation for Rails::Initializer and Rails::Configuration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 00:17:09 +00:00
Nicholas Seckar
df9efebd94 Add line and file information to test process' get, post, etc methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 00:14:51 +00:00
Nicholas Seckar
e625d27633 Add temporary support for passing locals to render using string keys
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 00:04:33 +00:00
Nicholas Seckar
9369137676 Add __FILE__ and __LINE__ to eval
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 22:56:36 +00:00
Nicholas Seckar
b7801ff71e Shorten long line
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 22:55:52 +00:00
Jamis Buck
bfbf6bba1f Allow ARStore::Session to indicate that it should not be reloaded in dev mode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 20:49:04 +00:00
David Heinemeier Hansson
bec70cf99a Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 20:43:52 +00:00
Michael Koziarski
e48055a184 Renaming the deprecated finder test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 19:52:40 +00:00
Nicholas Seckar
3625dfaad5 Clean up error pages by providing better backtraces
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 19:05:15 +00:00
Nicholas Seckar
49ec08aaa7 Added Extension extension to provide support for clean backtraces.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 19:03:38 +00:00
Michael Koziarski
3b8fce7b52 reasoning behind the seemingly duplicated method
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 18:39:19 +00:00
Michael Koziarski
518540a067 Add code and message to test response as per #2460
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 18:36:41 +00:00
Jamis Buck
e7f61eab56 squash the memleak in dev mode finally (fingers crossed, here)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 18:21:27 +00:00
David Heinemeier Hansson
d72201e438 Backed out of setting testing settings through initializer as that would break backwards compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:47:46 +00:00
Scott Barron
ccd18dc650 Should be RAILS_ROOT/test/fixtures.
Closes #2476


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:05:55 +00:00
David Heinemeier Hansson
985574c940 Make freezing work with Windows
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:44:35 +00:00
Sam Stephenson
10714869dc Change default logging colors to work on both white and black backgrounds.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:34:09 +00:00
David Heinemeier Hansson
8cfcc04d08 Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:00:15 +00:00
Marcel Molina
48fd667bda Raise an exception if an attempt is made to insert more session data into the ActiveRecordStore data column than the column can hold. Closes #2234.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 14:39:29 +00:00
Tobias Lütke
6a8b9484a7 action pack asserts don't spam you with unnecissary backtraces anymore
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:58:22 +00:00
David Heinemeier Hansson
50f3c3cc40 Updated documentation and fixed the spinner to reference the new spawner by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:48:03 +00:00
David Heinemeier Hansson
0930256b45 Fixed the overeager test running
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:18:17 +00:00
Thomas Fuchs
09aae0a275 Updated and clarified documentation for JavaScriptHelper to be more concise about the various options for including the JavaScript libs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2608 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 05:08:59 +00:00
Tobias Lütke
35d543f422 Adds update_javascripts task which will fetch all the latest js files from railties dir.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 04:06:39 +00:00
David Heinemeier Hansson
e3bb9e7a9c Cleaned up test_helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 03:02:28 +00:00
David Heinemeier Hansson
08917a6c5e Fixed script/performance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:56:35 +00:00
Scott Barron
f8f4eccd9a If a component redirects when called with render_component_as_string, render the
redirected to action.

Fixes #2327


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:53:21 +00:00
Jeremy Kemper
00a194d739 Really fix #1896. YAML class structure changed between 1.8.2 and 1.8.3, breaking the original implementation. Duck-type instead of checking kind_of?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:49:22 +00:00
Nicholas Seckar
43c34e20d2 Updated whiny nil to be more concise and useful.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:24:05 +00:00
Marcel Molina
07b4ea2e4b Eliminate an obsolete comment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:13:42 +00:00
Jeremy Kemper
da675e536d Support ordered YAML fixtures. #1896
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:01:38 +00:00
Nicholas Seckar
0773c2f09f Add changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2599 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 01:14:18 +00:00
David Heinemeier Hansson
6027d376b9 Cleaned up some docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 01:10:12 +00:00
David Heinemeier Hansson
04f4ae255f Take retry with breakpoint out until we fix it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 01:09:34 +00:00
Nicholas Seckar
e0e8f0a302 Fix Request#host_with_port to use the standard port when Rails is behind a proxy.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 01:00:25 +00:00
Tobias Lütke
7086993161 Adds :nullify option to :depends. Closes #2015 (Robby Russell)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 00:46:55 +00:00
Jeremy Kemper
64fcb752f2 r3618@sedna: jeremy | 2005-10-14 12:06:03 -0700
Branch for :join tainting
 r3631@sedna:  jeremy | 2005-10-14 20:13:49 -0700
 Introduce read-only records, object.readonly\!, object.readonly?, Foo.find(:all, :readonly => true).  Foo.find(:all, :joins => '...') also implies :readonly => true.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 00:19:56 +00:00
Marcel Molina
6a6df5f1e2 Change quote delimiters for sql interpolation to obviate SyntaxErrors. Closes 2215. [leroen@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 23:28:35 +00:00
Nicholas Seckar
f2c7634db5 Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. Provides cleaner backtraces and error messages.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:54:12 +00:00
David Heinemeier Hansson
29d4c2b36f Finished move
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:25:40 +00:00
David Heinemeier Hansson
8ad552a112 Moving perform to performance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:56 +00:00
David Heinemeier Hansson
a442e6dbdf Clean-up fix a bit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:09 +00:00
Florian Weber
9285f6c7ae Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 20:33:39 +00:00
Jeremy Kemper
00656979fe r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700
move scripts
 r3622@sedna:  jeremy | 2005-10-14 14:54:48 -0700
 remove script/perform and script/process in favor of script/perform/profile, etc.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 18:58:07 +00:00
David Heinemeier Hansson
3202155212 SQL Server needs to quote booleans just like MySQL 1/0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 16:10:53 +00:00
David Heinemeier Hansson
94a05920e1 Only dump schema if schema_format is :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 16:10:02 +00:00
Jamis Buck
e2fc88eef4 Avoid memleak in dev mode with fastcgi
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 15:04:57 +00:00