Jeremy Kemper
|
3ba23348de
|
Excise generated whitespace. Closes #10017 [Tim Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 21:40:23 +00:00 |
|
Jeremy Kemper
|
bef071dd0b
|
Introduce finder :joins with associations. Same :include syntax but with inner rather than outer joins. Closes #10012.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 21:39:52 +00:00 |
|
Michael Koziarski
|
2283524dff
|
Test which fails without [8052] [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 04:13:51 +00:00 |
|
Jeremy Kemper
|
c240f2d48a
|
compute_public_path behaves well with mailers also. Closes #10014.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 04:01:58 +00:00 |
|
Jeremy Kemper
|
204c2755e2
|
Associations: speedup duplicate record check. Closes #10011.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 03:02:42 +00:00 |
|
Rick Olson
|
c708346688
|
Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance with the JSON spec. Closes #9975 [josh, chuyeow, tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 00:18:43 +00:00 |
|
Michael Koziarski
|
df0765d8dc
|
Make sure that << works on has_many associations on unsaved records. Closes #9989 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-28 03:39:18 +00:00 |
|
Jeremy Kemper
|
d44ce1cb73
|
Integration tests: get_ and post_via_redirect take a headers hash. Closes #9130.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:38:08 +00:00 |
|
Jeremy Kemper
|
88f951a519
|
Allow association redefinition in subclasses. Closes #9346.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:31:09 +00:00 |
|
Jeremy Kemper
|
a55caf666c
|
Tested FormHelper#label. Closes #9850 [jarkko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:30:05 +00:00 |
|
Jeremy Kemper
|
4b639904d7
|
Fix has_many :through delete with custom foreign keys. Closes #6466.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 18:51:32 +00:00 |
|
Michael Koziarski
|
cf9be897b8
|
Make sure default_test is tested for ActiveSupport::TestCase too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 23:38:34 +00:00 |
|
Michael Koziarski
|
56fec2f269
|
Make Default Test work with both ruby 1.8.4 and 1.8.6. [DrMark] Closes #10003
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 23:24:10 +00:00 |
|
David Heinemeier Hansson
|
2a74d71e49
|
Added db:rollback to rollback the schema one version (or multiple as specified by STEP) [Jeffrey Allan Hardy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 21:11:07 +00:00 |
|
Jeremy Kemper
|
49eafd8c36
|
Foxy fixtures. Adapter#disable_referential_integrity. Closes #9981.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:56:46 +00:00 |
|
Rick Olson
|
742694e0eb
|
Simplfy #view_paths implementation. ActionView templates get the exact object, not a dup. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:45:41 +00:00 |
|
Rick Olson
|
d7aa32d5d0
|
Update tests for ActiveSupport's JSON escaping change. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:32:30 +00:00 |
|
Rick Olson
|
d5a93b6241
|
FormHelper's auto_index should use #to_param instead of #id_before_type_cast. Closes #9994 [mattly]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 04:48:19 +00:00 |
|
Marcel Molina
|
d761ac4095
|
Add docs explaining how to protect all attributes using attr_accessible with no arguments. Closes #9631 [boone, rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 04:07:39 +00:00 |
|
Marcel Molina
|
27941f649f
|
Update add_index documentation to use new options api. Closes #9787 [kamal]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:55:22 +00:00 |
|
Marcel Molina
|
bf658a906b
|
Allow find on a has_many association defined with :finder_sql to accept id arguments as strings like regular find does. Closes #9916 [krishna]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:42:28 +00:00 |
|
Marcel Molina
|
7f8183e3c4
|
Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:34:48 +00:00 |
|
Marcel Molina
|
27ac7ad7e5
|
Make example parameters in restful routing docs idiomatic. Closes #9993 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:32:20 +00:00 |
|
Marcel Molina
|
2f254137e2
|
Make documentation comment for mime responders match documentation example. Closes #9357 [yon]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:25:40 +00:00 |
|
Rick Olson
|
34c125d774
|
Fix JSON encoding/decoding bugs dealing with /'s. Closes #9990 [Rick, theamazingrando]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:22:02 +00:00 |
|
Marcel Molina
|
8b2a6014a2
|
Use VALID_FIND_OPTIONS when resolving :find scoping rather than hard coding the list of valid find options. Closes #9443 [sur]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:20:14 +00:00 |
|
Michael Koziarski
|
985ee85f59
|
Remove broken require
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 02:58:24 +00:00 |
|
Michael Koziarski
|
2cc0cac3ef
|
Introduce TestCase subclasses for testing rails applications allowing tests to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 02:21:21 +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 |
|
Marcel Molina
|
423788371a
|
Fix typo in test_helper. Closes #9925 [viktor tron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 01:07:41 +00:00 |
|
Marcel Molina
|
65e18af03a
|
Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 01:04:40 +00:00 |
|
Jeremy Kemper
|
4d2ae8a699
|
Partials also set 'object' to the default partial variable. Closes #8823.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 21:32:01 +00:00 |
|
Jeremy Kemper
|
cb1aab0552
|
/ default uri, -b shortcut
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 20:46:50 +00:00 |
|
Jeremy Kemper
|
d69be7df6d
|
Request profiler
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 20:33:28 +00:00 |
|
Michael Koziarski
|
96557eb35b
|
Remove superfluous code and quote table name. References #9971 [jkit, nzkoz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 18:53:07 +00:00 |
|
Michael Koziarski
|
11d2a309c5
|
Make clear_reloadable_connections! take account of @@allow_concurrency. Closes #7579 [wilson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 08:09:41 +00:00 |
|
Michael Koziarski
|
192e463d05
|
Add an ignored options parameter to ActiveSupport::JSON::Variable#to_json to make sure it duck-types nicely with the other JSON types. [Pascal Belloncle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 07:09:09 +00:00 |
|
Michael Koziarski
|
2d208eb3a0
|
Make sure that the Schema Dumper supports non-standard primary keys with MySQL. Closes #9971 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 06:42:05 +00:00 |
|
Michael Koziarski
|
12d8d48b71
|
Refactor the default rendering out to a method called default_render to provide a hook for plugin authors. Closes #9953 [cjheath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 06:38:01 +00:00 |
|
Jeremy Kemper
|
7c3581cba2
|
Document Enumerable and Hash #to_json. Add test for hash with integer key. Closes #9970.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-24 16:21:46 +00:00 |
|
Jeremy Kemper
|
4c2920e89c
|
Remove unnecessary returns from builtin filters since render/return is now sufficient. Closes #9952 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-24 04:47:40 +00:00 |
|
Jeremy Kemper
|
a2c9c92b72
|
rake test aborts if tests failed. Closes #9962 [Jason Roelofs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 20:08:51 +00:00 |
|
Jeremy Kemper
|
8091ed5420
|
Disabled checkboxes don't submit a form value. Closes #9301.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 19:25:28 +00:00 |
|
Marcel Molina
|
c8b6b4821f
|
Limited eager loading no longer ignores scoped :order. Closes #9561 [danger, josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 18:34:01 +00:00 |
|
Marcel Molina
|
6f559f871e
|
Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong, mislav]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 17:57:47 +00:00 |
|
Jeremy Kemper
|
7b42a1d0ac
|
Assigning an instance of a foreign class to a composed_of aggregate calls an optional conversion block. Refactor and simplify composed_of implementation. Closes #6322.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 17:39:35 +00:00 |
|
Jeremy Kemper
|
c220e558be
|
Assigning nil to a composed_of aggregate also sets its immediate value to nil. Closes #9843.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 17:29:42 +00:00 |
|
Jeremy Kemper
|
562b398fd7
|
Some mime type refactoring. Closes #9957 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 06:33:28 +00:00 |
|
Jeremy Kemper
|
28729a4829
|
validates_uniqueness_of behaves well with abstract superclasses. References #3833, closes #9886.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 06:18:42 +00:00 |
|
Jeremy Kemper
|
6a35ed16c2
|
Remove duplicate rjs layout check. Closes #9956 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-23 05:54:19 +00:00 |
|