Rick Olson
c51f9fdc78
revert ActiveRecord equality change. Closes #5596
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 14:22:24 +00:00
David Heinemeier Hansson
7e5dd2e124
Fixed migration generation for class names like ACLController ( closes #5197 ) [brad@madriska.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 04:40:48 +00:00
David Heinemeier Hansson
784165e03b
Fixed a few Oracle issues: Allows Oracle's odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [schoenm@earthlink.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:54:19 +00:00
David Heinemeier Hansson
e8504877c0
Doc fixes ( closes #5443 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:44:26 +00:00
David Heinemeier Hansson
11c715a53f
Added exception handling of missing layouts ( closes #5373 ) [chris@ozmm.org]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:38:55 +00:00
David Heinemeier Hansson
73c80169c8
rake should run active_schema_mysql_test.rb ( closes #5390 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:30:37 +00:00
David Heinemeier Hansson
080e169751
Doc fix ( closes #5418 ) [kevwil@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:23:21 +00:00
David Heinemeier Hansson
40f50fd7e5
Doc fix ( closes #5429 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:18:34 +00:00
David Heinemeier Hansson
ead99f3f2e
Fixed that real files and symlinks should be treated the same when compiling templates ( closes #5438 ) [zachary@panandscan.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:17:25 +00:00
David Heinemeier Hansson
06411f4261
Added show_source_list and show_call_stack to breakpoints to make it easier to get context ( closes #5476 ) [takiuchi@drecom.co.jp]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:02:30 +00:00
David Heinemeier Hansson
750ca7998b
Added :group to available options for finds done on associations ( closes #5516 ) [mike@michaeldewey.org]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:48:09 +00:00
David Heinemeier Hansson
b272100f05
Doc fix ( closes #5504 ) [lee@omara.ca]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:43:47 +00:00
David Heinemeier Hansson
f780bb8f58
Doc fix ( closes #5576 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:16:41 +00:00
David Heinemeier Hansson
28ef328baa
Fixed that the flash should be reset when reset_session is called ( closes #5584 ) [shugo@ruby-lang.org]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:14:53 +00:00
David Heinemeier Hansson
760bcc6ea9
Fixed HashWithIndifferentAccess#default ( closes #5586 ) [chris@seagul.co.uk]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:09:40 +00:00
David Heinemeier Hansson
f384622a20
Doc fixes
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:06:51 +00:00
David Heinemeier Hansson
532627452d
Added special case for "1 Byte" in NumberHelper#number_to_human_size ( closes #5593 ) [murpyh@rubychan.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 01:04:32 +00:00
Jeremy Kemper
4bd827e523
Typo in alias_method_chain rdoc.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-03 23:27:47 +00:00
Jeremy Kemper
d954ee21b8
Add forgotten test/abstract_unit
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-03 21:14:04 +00:00
Nicholas Seckar
66313f77ca
Minor tweak to improve performance of ActiveRecord::Base#to_param
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-03 03:57:31 +00:00
Jeremy Kemper
64b7c5fbd1
Generate scaffold layout in subdirectory appropriate to its module nesting. Closes #5511 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-01 00:11:35 +00:00
Jeremy Kemper
faba7e9372
fix regexp typo
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 06:51:22 +00:00
Jeremy Kemper
d0526ede40
r4748@asus: jeremy | 2006-06-29 22:40:35 -0700
...
Loosen urlencoded content type check.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 05:41:03 +00:00
Jeremy Kemper
5446ecd5b9
Mailer template root applies to a class and its subclasses rather than acting globally. Closes #5555 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 05:27:05 +00:00
David Heinemeier Hansson
bdac94e990
Fixed proper form-encoded parameter parsing for requests with "Content-Type: application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 05:19:15 +00:00
Jeremy Kemper
6a1a1e5536
r4738@asus: jeremy | 2006-06-29 20:18:43 -0700
...
Observers also watch subclasses created after they are declared. Closes #5535 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 04:38:24 +00:00
Nicholas Seckar
e494b0a441
Add route_name_path method to generate only the path for a named routes. For example, map.person will add person_path.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 02:36:17 +00:00
Jeremy Kemper
546c04c6b4
Missing method_key.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 01:56:29 +00:00
Jeremy Kemper
9444206dd5
Retain symbol method key and assign_method_name.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 21:45:12 +00:00
Jeremy Kemper
ec43212206
r4732@asus: jeremy | 2006-06-29 13:51:32 -0700
...
Chop RAILS_ROOT from file path for readability. Preserve non-alphanumeric characters for uniqueness.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 20:52:00 +00:00
Jeremy Kemper
f3aa7c1e64
r4730@asus: jeremy | 2006-06-29 13:13:38 -0700
...
Avoid naming collision among compiled view methods. Back out AM workaround. References #5520 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 20:14:33 +00:00
Jeremy Kemper
5fe64dd1a6
r4724@asus: jeremy | 2006-06-28 19:22:46 -0700
...
Removed deprecated timestamps_gmt class methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 02:39:32 +00:00
Jeremy Kemper
4defe1ac8a
More compatible Hash.create_from_xml. Closes #5523 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 02:00:44 +00:00
Jeremy Kemper
1fd9a46d71
Resolve conflict among mailer actions with the same name. Closes #5520 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 01:54:16 +00:00
Jeremy Kemper
5b866f75a7
r4720@asus: jeremy | 2006-06-28 18:12:57 -0700
...
Don't be such a hardass. References #5497 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 01:13:55 +00:00
Jeremy Kemper
141962348c
script/server prefers mongrel over lighttpd
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 00:57:54 +00:00
Jeremy Kemper
0a072e8ed7
Mongrel: script/server tails the rails log like it does with lighttpd. Closes #5541 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 00:31:45 +00:00
Jeremy Kemper
ce458a74a5
Don't assume Active Record is available. Closes #5497 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:51:50 +00:00
Jeremy Kemper
0e146d54a7
Mongrel: script/server works on Win32. Closes #5499 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:41:29 +00:00
Jeremy Kemper
a092749554
rake build_mysql_database grants permissions to rails@localhost. Closes #5501 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:36:22 +00:00
Nicholas Seckar
81a6a60dc6
Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 20:53:00 +00:00
Marcel Molina
c02d1f7d9b
Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [mislav@nippur.irb.hr]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 13:51:25 +00:00
Marcel Molina
68a320ad20
Fix invoke_layered since api_method didn't declare :expects. Closes #4720 . [Kevin Ballard <kevin@sb.org>, Kent Sibilev]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-27 19:41:14 +00:00
Jeremy Kemper
236c7325df
Enumerable#sum without blocks. Closes #5505 . Don't assume 0 identity for sum.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-25 19:11:09 +00:00
Jeremy Kemper
42775686d2
PostgreSQL: support microsecond time resolution. Closes #5492 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-25 18:04:06 +00:00
Nicholas Seckar
d9125093e8
Add AssociationCollection#sum since the method_missing invokation has been shadowed by Enumerable#sum. Closes #5500 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-25 17:49:24 +00:00
David Heinemeier Hansson
99d268c853
Initial check-in of Active Resourse
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-25 14:44:22 +00:00
Nicholas Seckar
a55265132b
Add Enumerable#index_by
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4491 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-24 16:42:48 +00:00
David Heinemeier Hansson
84d9a292fe
Cant use separate module [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-24 16:27:34 +00:00
David Heinemeier Hansson
fd0eaaa407
Added Enumerable#sum for calculating a sum from the elements [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-24 16:14:59 +00:00