Commit Graph

22399 Commits

Author SHA1 Message Date
Nick Sutterer
b4bc2c50ca fixed test to assert initialization value. 2011-05-04 00:11:34 +02:00
Nick Sutterer
88c21121f1 initialize prefixes in LookupContext. 2011-05-04 00:10:21 +02:00
Nick Sutterer
65ceccb0ba controller's prefixes are now added to LookupContext. 2011-05-03 23:41:38 +02:00
Nick Sutterer
37f448e05e added :prefixes accessor to LookupContext. 2011-05-03 23:38:44 +02:00
José Valim
bff374050d Use latest rack-test. 2011-05-03 23:03:07 +02:00
Aaron Patterson
836b54eed8 Merge pull request #381 from joshk/mysql2_schema_test.
Added the mysql schema test to mysql2 adapter
2011-05-03 13:54:00 -07:00
backspace
3b795c12d7 Fix typo in Factory Girl description 2011-05-03 15:41:11 -05:00
Josh Kalderimis
323b7585e1 added the mysql schema test to mysql2 adapter, and fixed the corresponding failures 2011-05-03 21:15:10 +02:00
José Valim
d54ce7129c Merge pull request #380 from vijaydev/master.
Fixes typos in params wrapper test
2011-05-03 11:19:27 -07:00
Vijay Dev
f490a81443 Fix typos in test method names 2011-05-03 23:35:01 +05:30
Aaron Patterson
cb9557c432 make sure IM repository is cleared after body is closed 2011-05-03 09:59:22 -07:00
Aaron Patterson
d0719c5938 proxying the body in the IM middleware so that IM is available for streaming ERb 2011-05-03 09:59:22 -07:00
Aaron Patterson
3f897c1a4c adding a test case for the identity map middleware 2011-05-03 09:59:21 -07:00
Aaron Patterson
af8c54be0a cache strings in the AST for faster comparison than include? 2011-05-03 09:59:21 -07:00
José Valim
dd7afdb2dc Merge pull request #378 from danielvlopes/master.
Select_tag should have the same API of select from form_builder
2011-05-03 08:02:14 -07:00
José Valim
f9849070ac Add a shared entry point for AV and AC render which can be used as extension in the future. 2011-05-03 16:51:47 +02:00
Daniel Lopes
c5d54be746 fix select_tag to have the same behavior of select 2011-05-03 11:39:27 -03:00
José Valim
f82767e276 Merge pull request #377 from joshk/rails_legacy_mapper_message.
raise an error if the old router draw method is used
2011-05-03 07:21:35 -07:00
Josh Kalderimis
275529446e raise an error if the old router draw method is used, along with a message advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile 2011-05-03 16:07:25 +02:00
José Valim
7ae3b82ceb Merge pull request #375 from k33l0r/master.
Google Chrome sometimes incorrectly identifies the rescues template charset
2011-05-03 06:44:01 -07:00
Matias Korhonen
49b825e502 Sets the HTTP charset parameter for rescue response. 2011-05-03 16:30:59 +03:00
Matias Korhonen
c7f7a45676 Rescues template HTML5 doctype and the utf8 charset meta tag, and better font choices for Mac users. 2011-05-03 16:30:04 +03:00
José Valim
1ca81238b5 Add static_cache_control as configuration option and set a default for test. Should improve performance in acceptance tests. 2011-05-03 13:07:39 +02:00
José Valim
06ddda0a5f We no longer depend on those git repos. 2011-05-03 12:56:57 +02:00
José Valim
f7c711baee No need for a regexp here. 2011-05-03 12:42:42 +02:00
José Valim
e1c1685016 Static middleware accepts cache control. 2011-05-03 12:32:14 +02:00
José Valim
ed3e667415 Multipart is now fixed in Rack. 2011-05-03 12:10:11 +02:00
José Valim
ce6fef9d8b Merge pull request #373 from sikachu/bomb.
Fixing failing test case on 1.8.7 & bump Rack version
2011-05-03 02:57:16 -07:00
Prem Sichanugrist
31f412fc97 Fix broken params_wrapper_test on 1.8.7 💣
I have to keep in mind that 1.8.7 does *not* preserve the hash order.

Guys, let's move to use 1.9.2 in production!
2011-05-03 16:51:19 +07:00
Prem Sichanugrist
8bf5d684fd Update Action Pack to depend on Rack 1.3.0
Rack 1.3.0 was released a while ago, which break the hard dependency we set in Action Pack. This dependency bump won't be the issue, as we always depends on edge Rack. Also, we was waiting for Rack 1.3.x release before we can release Rails 3.1 beta anyway.
2011-05-03 15:40:52 +07:00
David Heinemeier Hansson
2fbbd08616 Use require_self from latest Sprockets 2011-05-02 19:24:49 -05:00
David Heinemeier Hansson
b359f9fe7c Merge branch 'master' of github.com:rails/rails 2011-05-02 19:21:03 -05:00
José Valim
35d0d82ae3 More performance optimizations. 2011-05-03 01:37:01 +02:00
Sebastian Martinez
d53c2e4952 fixed-fonts on SchemaDefinitions 2011-05-02 20:30:31 -03:00
José Valim
a55f2de0c5 Improve performance for filtered parameters and add tests. 2011-05-03 01:04:57 +02:00
José Valim
1afb56f481 Instrumentation should have callbacks. 2011-05-03 01:04:57 +02:00
José Valim
4bddc06e83 Move most processing to load time for performance and improve test suite. 2011-05-03 01:04:57 +02:00
José Valim
3cca86641e Update CHANGELOG. 2011-05-03 01:04:57 +02:00
Aaron Patterson
fa77665a34 Merge pull request #370 from joshk/unrolled_map.
favor map over each in mysql* adapters
2011-05-02 15:44:57 -07:00
Aaron Patterson
81cfbf4146 removing auto_link and moving it to the rails_autolink gem. 💣 2011-05-02 15:43:33 -07:00
Josh Kalderimis
b5824a4d04 favor collect over each in mysql* adapters 2011-05-03 00:33:39 +02:00
David Heinemeier Hansson
e30f068d65 Merge pull request #369 from smartinez87/params_wrapper.
Fix ParamsWrapper docs errors
2011-05-02 15:14:24 -07:00
Sebastian Martinez
c894fff60a Fix ParamsWrapper docs errors 2011-05-02 19:07:48 -03:00
David Heinemeier Hansson
b29a905f94 Flunk makes a lot more sense, doesnt it (hat tip @tenderlove) 2011-05-02 17:04:21 -05:00
José Valim
11db2ae4e0 Koz asked to test something crazy. 2011-05-02 23:45:24 +02:00
José Valim
83e35b9c08 Allow ignore_accept_header through configuration option. 2011-05-02 23:39:42 +02:00
José Valim
73c94ed97a Add ignore_accept_header config to AD::Request. 2011-05-02 23:38:57 +02:00
David Heinemeier Hansson
79a9bebcbf Merge pull request #359 from sikachu/params_wrapper.
Add `ActionController::ParamsWrapper` to wrap JSON parameters into a nested parameters.
2011-05-02 14:08:44 -07:00
Prem Sichanugrist
8c9e4d5202 Add ActionController::ParamsWrapper to wrap parameters into a nested hash
This will allow us to do a rootless JSON/XML request to server.
2011-05-03 03:21:43 +07:00
José Valim
7f5ff5df2d Merge pull request #367 from sikachu/credit_changelog.
Update CHANGELOG file to mention my name
2011-05-02 12:56:45 -07:00