Jeremy Kemper
69d8ca4c52
Clearer has_one/belongs_to model names (account has_one :user). Closes #5632 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-07 10:58:22 +00:00
Jeremy Kemper
c4782f7393
More succinct current_adapter? Enable locking duel for Oracle.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-07 10:48:43 +00:00
Jeremy Kemper
044f960fd3
PostgreSQL: add_column can add a not null column with a default.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-07 10:46:53 +00:00
Jeremy Kemper
40bdbba48d
Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic locking, don't guess date vs. time by default (set OracleAdapter.emulate_dates = true for the old behavior), adapter cleanup. Closes #5635 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-07 10:42:14 +00:00
Jeremy Kemper
9f3625dd0a
Ensure the logger is initialized. Closes #5629 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 20:37:49 +00:00
David Heinemeier Hansson
6a66f910a1
Updated
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 17:35:37 +00:00
Jeremy Kemper
40d8d77c64
Rename test file so it runs for MySQL only.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 17:30:54 +00:00
David Heinemeier Hansson
117c70b6e7
Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 17:21:42 +00:00
Jeremy Kemper
63375b9ef2
Grammar fix in aggregations rdoc. Closes #5613 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 02:05:09 +00:00
Jeremy Kemper
fefe6591f6
Really, this time. References #5612 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 23:56:49 +00:00
Jeremy Kemper
68608e331f
Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. Closes #5612 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 23:48:27 +00:00
Jeremy Kemper
f833a78049
text_field_with_auto_complete stylesheet uses <style type="text/css"> instead of bare <style>. Closes #5610 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 23:24:14 +00:00
Jeremy Kemper
3398f74db1
db:test:clone should remove existing tables before reloading the schema. Closes #5607 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 18:35:06 +00:00
David Heinemeier Hansson
bffb29fb7d
Fixed test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 18:09:49 +00:00
Jeremy Kemper
12600d77dd
HashWithIndifferentAccess shouldn't confuse false and nil. Closes #5601 . Nor should it mistreat legitimate nil values.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 17:32:16 +00:00
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