David Heinemeier Hansson
|
2e65e8ccc6
|
Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-04 00:33:52 +00:00 |
|
David Heinemeier Hansson
|
15b022a74f
|
Rolled back broken aliasing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 23:27:51 +00:00 |
|
David Heinemeier Hansson
|
e72ff355c3
|
Fixed that Module#alias_method_chain should work with both foo? foo! and foo at the same time (closes #4954) [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 22:43:13 +00:00 |
|
David Heinemeier Hansson
|
b85c5356c9
|
Added documentation for inflections (closes #5013) [m.stienstra@fngtps.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 22:30:32 +00:00 |
|
David Heinemeier Hansson
|
59432fe89b
|
Added uninstall.rb hook to plugin handling, such that plugins have a way of removing assets and other artifacts on removal (closes #5003) [takiuchi@drecom.co.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 22:26:44 +00:00 |
|
David Heinemeier Hansson
|
68e35f1371
|
Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 22:22:50 +00:00 |
|
David Heinemeier Hansson
|
c5ec16e583
|
Added simple hash conditions to find that'll just convert hash to an AND-based condition string (closes #5143) [hcatlin@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 22:15:06 +00:00 |
|
David Heinemeier Hansson
|
cb62f06dcf
|
Fixed issues with BLOB limits, charsets, and booleans for Firebird (closes #5194, #5191, #5189) [kennethkunz@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:57:03 +00:00 |
|
David Heinemeier Hansson
|
9c0fb70e1e
|
For Firebird adapter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:52:22 +00:00 |
|
David Heinemeier Hansson
|
d016d9a6d4
|
Fixed usage of :limit and with_scope when the association in scope is a 1:m (closes #5208) [alex@purefiction.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:51:57 +00:00 |
|
David Heinemeier Hansson
|
2fbcae1912
|
Added disconnect! to Firebird adapter (closes #5210) [kennethkunz@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:48:30 +00:00 |
|
David Heinemeier Hansson
|
6a9f47f33f
|
Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:47:29 +00:00 |
|
David Heinemeier Hansson
|
7f00f51239
|
Fixed migration trouble with SQLite when NOT NULL is used in the new definition (closes #5215) [greg@lapcominc.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:41:40 +00:00 |
|
David Heinemeier Hansson
|
3e67e0b3b2
|
Fixed problems with eager loading and counting on SQL Server (closed #5212) [kajism@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:27:16 +00:00 |
|
David Heinemeier Hansson
|
4394e402b7
|
Fixed that count distinct should use the selected column even when using :include (closes #5251) [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:19:36 +00:00 |
|
David Heinemeier Hansson
|
1671609063
|
Fixed that has_many.create ended up with duplicate objects (closes #5250) [daniel@nouvelles-solutions.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:16:50 +00:00 |
|
David Heinemeier Hansson
|
01a52dd1ad
|
Fixed that :includes merged from with_scope won't cause the same association to be loaded more than once if repetition occurs in the clauses (closes #5253) [alex@purefiction.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 21:11:48 +00:00 |
|
Jeremy Kemper
|
9422e71ca8
|
Uncry thyself
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 01:02:42 +00:00 |
|
Jeremy Kemper
|
48052d70ec
|
to_xml fixes, features, and speedup. Closes #4989.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-03 00:01:08 +00:00 |
|
Jeremy Kemper
|
49060cda24
|
fixtures :accounts for base_test. Closes #5268.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 22:48:54 +00:00 |
|
Sam Stephenson
|
c377ce50ed
|
Add OrderedHash#values
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 17:28:15 +00:00 |
|
Jeremy Kemper
|
8cdf9126d3
|
Rewind readable CGI params so others may reread them (such as CGI::Session when passing the session id in a multipart form). Closes #210.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 06:30:23 +00:00 |
|
David Heinemeier Hansson
|
6dea52c54e
|
Finish custom handling [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:38:28 +00:00 |
|
David Heinemeier Hansson
|
180edf4146
|
Make new mime types first class [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:30:43 +00:00 |
|
David Heinemeier Hansson
|
5e998d1ea0
|
Make new mime types first class [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:29:34 +00:00 |
|
David Heinemeier Hansson
|
5240d7a84b
|
Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default types [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:16:03 +00:00 |
|
David Heinemeier Hansson
|
984aa7eeb9
|
Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 04:11:56 +00:00 |
|
David Heinemeier Hansson
|
5c30352328
|
Added support for Mime objects in render :content_type option [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 03:39:56 +00:00 |
|
Jeremy Kemper
|
ace2a66f0c
|
Excise the headache-prone syswrite in send_file.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 03:34:38 +00:00 |
|
Jeremy Kemper
|
6aaa08d85b
|
PostgreSQL: don't ignore port when host is nil since it's often used to label the domain socket. Closes #5247.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 01:25:11 +00:00 |
|
Jeremy Kemper
|
ac66cf1289
|
Add :status option to send_data and send_file. Defaults to '200 OK'. Closes #5243.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-02 00:51:56 +00:00 |
|
David Heinemeier Hansson
|
9e7e89a561
|
Dont keep nothing as a lookup [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 23:23:24 +00:00 |
|
Rick Olson
|
c9eb5a083f
|
delegate AssociationProxy#to_param to the association target so that associated models can be used in routes. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 22:01:40 +00:00 |
|
Jamis Buck
|
ef5317f74f
|
Tweaks to integration tests and url rewriter for further compatibility with new routes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 16:20:26 +00:00 |
|
Jamis Buck
|
ba4d4ad4a8
|
Add RouteSet::Mapper#named_route for compatibility with adding programmatically named routes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 16:00:15 +00:00 |
|
Jamis Buck
|
b20c575ac0
|
New routes implementation. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 15:42:08 +00:00 |
|
Jeremy Kemper
|
74b7bfa6d2
|
Mind the order of things.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 02:04:35 +00:00 |
|
Jeremy Kemper
|
97f4a5aa14
|
Quell warnings. Closes #5245.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 02:02:42 +00:00 |
|
Jeremy Kemper
|
b09d02c9e8
|
Records and arrays of records are bound as quoted ids.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 01:43:20 +00:00 |
|
David Heinemeier Hansson
|
9fcc0654c3
|
Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would fail if collection was empty [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 00:43:02 +00:00 |
|
David Heinemeier Hansson
|
24a5a803f3
|
Oracle and others wont take a string null for an answer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 00:23:08 +00:00 |
|
Jeremy Kemper
|
ce99c87551
|
Cope with missing content type and length headers. Parse parameters from multipart and urlencoded request bodies only. Accept multipart PUT parameters. Closes #5235.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-01 00:01:48 +00:00 |
|
David Heinemeier Hansson
|
408fe5facc
|
Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] Split Grouping into its own file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 23:25:36 +00:00 |
|
Jeremy Kemper
|
d31830cf9c
|
fix test warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 22:43:53 +00:00 |
|
Rick Olson
|
05a17dc6b5
|
Add a list of regexes assert_queries skips in the ActiveRecord test suite. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 20:47:03 +00:00 |
|
David Heinemeier Hansson
|
f9cd92f4ee
|
Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 18:52:24 +00:00 |
|
Sam Stephenson
|
e7fe1c47ba
|
Make "script/plugin install" work with svn+ssh URLs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 18:06:50 +00:00 |
|
David Heinemeier Hansson
|
bf1b06e90a
|
Easy way to set accepting for functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 04:49:18 +00:00 |
|
David Heinemeier Hansson
|
4a98cbe2dd
|
If not passing a hash, assume :id => whatever
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 04:48:46 +00:00 |
|
Rick Olson
|
cc88679c0c
|
band-aid for oracle
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-29 04:22:49 +00:00 |
|