Commit Graph

28237 Commits

Author SHA1 Message Date
Joel 2967aecdaf don't test schema where hstore not installed 2012-02-08 22:28:51 -08:00
Joel 102ef98d32 schema dumper tests for hstore 2012-02-08 22:28:51 -08:00
Joel cf57211460 Additional hstore tests, supporting null values, better compliance with postgres docs 2012-02-08 22:28:51 -08:00
Joel a110789ca4 add hstore to postgres native types and defaults 2012-02-08 22:28:50 -08:00
Vijay Dev d1abb8ba64 Merge pull request #4950 from ask4prasath/text_changes
Test title changed corresponding to the test
2012-02-08 13:03:25 -08:00
prasath 848ee296ec test title changed corresponding to the test 2012-02-09 02:11:36 +05:30
Xavier Noria 6bb04c135d Merge pull request #4949 from ask4prasath/ordered_hash_replacement_activeresource
replaced active support ordered hash to ruby hash on active resource
2012-02-08 12:25:03 -08:00
prasath 7c444916fe replaced active support ordered hash to ruby hash on active resource 2012-02-09 01:36:31 +05:30
Aaron Patterson 828d29c374 Merge pull request #4947 from rafaelfranca/fix-build
PostgreSQL does not work in the same way of the other adapters
2012-02-08 10:40:06 -08:00
Rafael Mendonça França 78a6b6a5fd PostgreSQL does not work in the same way of the other adapters 2012-02-08 16:38:31 -02:00
Aaron Patterson 06b9c905a9 Merge pull request #4930 from ask4prasath/ordered_hash_replaced
Replacing ordered hash to ruby hash on active model
2012-02-08 08:59:00 -08:00
José Valim e7627d2af3 Merge pull request #4942 from bogdan/pluck_joins
AR::Relation#pluck: improve to work with joins
2012-02-08 06:41:54 -08:00
Bogdan Gusiev a379cb2fb5 AR::Relation#pluck: improve to work with joins 2012-02-08 16:37:27 +02:00
Santiago Pastorino 17497e5c55 Merge pull request #4934 from rafaelfranca/fix-doc
Fix match docs
2012-02-08 03:47:31 -08:00
Rafael Mendonça França b12cfd523c Fix match docs 2012-02-07 22:18:57 -02:00
Jon Leighton 75ffd8701d Fix attribute_before_type_cast for serialized attributes. Fixes #4837. 2012-02-07 23:36:22 +00:00
José Valim 4b8fe5961e Merge pull request #4932 from carlosantoniodasilva/fix-request-test
Fix failing request test
2012-02-07 14:57:27 -08:00
Carlos Antonio da Silva 4e7d94ea2c Fix failing request test
Latest changes in remote ip handling conflicted with each other in
tests. Related:

dd09811fa6
6a720226aa
2012-02-07 20:46:00 -02:00
José Valim 91bb008c0b Update README to mention lint. 2012-02-07 23:17:24 +01:00
José Valim a17d047a73 Trim down Active Model API by removing valid? and errors.full_messages 2012-02-07 23:10:43 +01:00
Xavier Noria 827b520bd1 Merge pull request #4878 from vijaydev/ordinal-2072
PR #2072 with docs
2012-02-07 14:08:02 -08:00
Aaron Patterson 55cc16f502 always flush all logs. fixes #4277 2012-02-07 13:50:02 -08:00
Xavier Noria d3f0f92501 no need to check for this constant 2012-02-07 21:20:35 +01:00
prasath 47628ec128 replacing ordered hash to ruby hash 2012-02-08 00:34:47 +05:30
José Valim 12c3b3d657 Merge pull request #4928 from rmm5t/fix_force_ssl_redirect_with_params_master
Fix force_ssl redirect with params
2012-02-07 10:34:38 -08:00
Ryan McGeary 30e5503d00 Added unit test to cover changes to RouteSet.url_for
ActionDispatch::Routing::RouteSet.url_for now handles passing params through to
ActionDispatch::Http::Url.url_for

Conflicts:

	actionpack/test/controller/base_test.rb
2012-02-07 13:28:30 -05:00
Ryan McGeary 6efb849b32 Fixed force_ssl redirects to include original query params
`ActionController.force_ssl` redirects http URLs to their https equivalent;
however, when a URL contains a query string, the resulting redirect lacked the
original query string.

Conflicts:

	actionpack/lib/action_controller/metal/force_ssl.rb
2012-02-07 13:28:29 -05:00
José Valim 275c3a1cb3 Merge pull request #2490 from gsterndale/x_forwarded_for_order
The first IP address in the X-Forwarded-For header is the originating IP
2012-02-07 09:54:51 -08:00
Jeremy Kemper abe4a8d070 Fix that failed tests should exit with a nonzero error code.
Partially reverts 14c89e7285.

Hat tip to @tenderlove for paring down the TestTask!
2012-02-07 10:41:30 -07:00
Greg Sterndale 6a720226aa The first IP address in the X-Forwarded-For header is the originating IP 2012-02-07 12:39:41 -05:00
José Valim 641359e54a Merge pull request #2632 from gsterndale/replace_trusted_proxies
Trusted proxies are configurable
2012-02-07 08:45:29 -08:00
Xavier Noria c3a371ad7a Merge pull request #4926 from iblue/master
Fixed documenation
2012-02-07 08:30:30 -08:00
José Valim dd9b428cbc Merge pull request #4918 from scottwb/fix-single-accept-with-q
Fix MIME::Type.parse handling of single media with a q value
2012-02-07 08:28:06 -08:00
Markus Fenske 51c95e8499 Fixed the documenation for 'to_xml' 2012-02-07 17:25:35 +01:00
Greg Sterndale dd09811fa6 Trusted proxies is replaced with a Regexp or appended to with a String 2012-02-07 11:21:32 -05:00
José Valim ed9aeec92d Merge pull request #4924 from rafaelfranca/fix-asset_tag
Fix audio_tag and video_tag helpers
2012-02-07 04:56:19 -08:00
Rafael Mendonça França e41425a8ea Always use content_tag for audio/video tag
Closes #4919
2012-02-07 10:50:23 -02:00
Scott W. Bradley 3b203f7cb6 Correctly handle single media with q value. Fixes #736. 2012-02-06 18:12:55 -08:00
Scott W. Bradley 339c99b62c Failing test case that shows issue #736 should still be open. 2012-02-06 18:12:43 -08:00
Aaron Patterson 3e0ecde208 adding a comment for myself 2012-02-06 15:52:16 -08:00
Aaron Patterson 5dec3dd59c delegate attribute typecasting to the column 2012-02-06 15:51:39 -08:00
Aaron Patterson 321b4c8527 pg supports real booleans, so handle the case when `true` is returned 2012-02-06 15:33:36 -08:00
Vijay Dev a470d79697 Document Integer#ordinal available in PR #2072.
Also remove an unasserted line in the tests.
2012-02-04 18:46:19 +05:30
Tim Gildea 6fa0190fe4 Add ActiveSupport::Inflector.ordinal and Integer#ordinal 2012-02-04 18:25:54 +05:30
Vijay Dev 7a72fdc7dc remove unasserted line in test 2012-02-04 18:24:17 +05:30
Vijay Dev 71dfce6e47 make the ONLY env variable used in guides generation work with kindle guides 2012-02-04 17:56:08 +05:30
José Valim ef32b59384 Merge pull request #4877 from bogdan/drop_per_key
AS::Callbacks: rip out per_key option.
2012-02-04 03:55:53 -08:00
Vijay Dev 42e3b6396f mention how to generate guides for the Kindle [ci skip] 2012-02-04 17:04:27 +05:30
Bogdan Gusiev 4f53091dd1 AS::Callbacks: rip out per_key option. 2012-02-04 13:31:00 +02:00
Vijay Dev 4c5dc4ac0d document config.active_record.dependent_restrict_raises in the configuring guide [ci skip] 2012-02-04 16:50:02 +05:30