Hongli Lai (Phusion)
cd9bb88eef
Remove reference to Rack::RewindableInput, which has been removed a while ago.
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-04-26 11:22:03 -05:00
Joshua Peek
82bc768dad
Fix typo in stale session check [ #2404 state:resolved]
2009-04-26 11:19:42 -05:00
Joshua Peek
5ea8d40156
Deprecate response.redirect_url_match?, use assert_match instead.
2009-04-26 11:16:14 -05:00
Joshua Peek
5352a2417b
Move useful response test helpers into request
2009-04-26 11:12:33 -05:00
Joshua Peek
dbbe2e74ff
Create a new file for response tests
2009-04-26 10:26:53 -05:00
Yehuda Katz
d0ace15c01
Updated for Rack 1.0
2009-04-25 12:33:14 -07:00
Joshua Peek
4f412a10b6
Remove RewindableInput middleware since all input MUST be rewindable according to a recent change in the Rack 1.0 SPEC
2009-04-25 14:04:03 -05:00
Joshua Peek
b69da86ea5
Remove vendored version of Rack
2009-04-25 13:56:37 -05:00
Joshua Peek
044794fc9e
Remove pending rack specifications until they are official
2009-04-25 13:41:30 -05:00
Joshua Peek
dd2ed32418
Start to integrate some of the features in Rack::Test.
...
Eventually commit ActionDispatch::Test::MockRequest and ActionDispatch::Test:: UploadedFile upstream.
2009-04-24 20:24:54 -05:00
Jeremy Kemper
cbcc0ca57b
Use Symbol#to_proc in rails plugin internals
2009-04-24 10:41:45 -07:00
Emilio Tagua
a841cd2503
Fix models load order to be able to run unit tests.
...
[#2550 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-04-23 16:02:11 -07:00
rick
3c4c6bd0df
* Add pluggable JSON backends with support for the JSON gem. [rick]
...
Example: ActiveSupport::JSON.backend = "JSONGem"
All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality
if you really want to use #to_json.
gem 'json'
ActiveSupport::JSON.backend = "JSONGem"
class ActiveRecord::Base
alias to_json rails_to_json
end
2009-04-23 00:08:40 -07:00
Jeremy Kemper
bab2bfa692
Removed rest of Symbol#to_proc from railties tests
2009-04-22 19:52:28 -07:00
Jeremy Kemper
236169e85e
Missed one
2009-04-22 19:50:24 -07:00
Jeremy Kemper
d23ab4fbb6
Remove Symbol#to_proc dependency
2009-04-22 19:35:58 -07:00
Jeremy Kemper
85b1a55f6d
Merge branch 'master' of git@github.com:rails/rails
2009-04-22 18:54:55 -07:00
Jeremy Kemper
f28bd9557c
Fix dependencies revealed by testing in isolation
2009-04-22 18:54:13 -07:00
Yehuda Katz + Carl Lerche
0a132c2fe1
Refactor ActionView::Path
...
* Decouple from ActionController and ActionMailer
* Bring back localization support.
* Prepare to decouple templates from the filesystem.
* Prepare to decouple localization from ActionView
* Fix ActionMailer to take advantage of ActionView::Path
2009-04-22 17:24:41 -07:00
Jeremy Kemper
5c4ba6e3fc
new_callbacks core extensions
2009-04-22 17:17:31 -07:00
Jeremy Kemper
b2d6fdae35
Fix tests on 1.9
2009-04-22 17:07:04 -07:00
Jeremy Kemper
7f6779c1d5
Merge branch 'master' into cherry
...
Conflicts:
activesupport/lib/active_support.rb
2009-04-22 16:53:58 -07:00
Jeremy Kemper
6fee981fa4
Opt in to JSON
2009-04-22 16:48:58 -07:00
Jeremy Kemper
f5d720fb96
Opt in to Dependencies
2009-04-22 16:42:14 -07:00
Jeremy Kemper
ab321268f8
No more free lunch
2009-04-22 16:10:49 -07:00
Jeremy Kemper
42a06d2d62
stdlib autoloads were hanging on 1.9.1
2009-04-22 09:10:48 -07:00
Jeremy Kemper
ca49299434
Get Active Model in the mix
2009-04-22 01:02:54 -07:00
Jeremy Kemper
a27192f49a
Divert CoreExtensions mention in docs
2009-04-22 00:47:25 -07:00
Jeremy Kemper
b70239b0cf
Convert string extension modules to class reopens
2009-04-22 00:45:39 -07:00
Jeremy Kemper
35afad620b
ActiveSupport.core_ext bridge util no longer used
2009-04-22 00:34:24 -07:00
Jeremy Kemper
e6eb941d1b
Switch last module core extension to class reopen
2009-04-22 00:33:00 -07:00
Jeremy Kemper
e9ed44af88
Merge branch 'master' into cherry
2009-04-22 00:23:47 -07:00
Jeremy Kemper
6ee8329af6
Merge branch 'master' of git@github.com:rails/rails
2009-04-22 00:22:25 -07:00
Jeremy Kemper
70c544df71
Rack::Utils.body_to_s doesn't exist in 1.0
2009-04-22 00:22:07 -07:00
Joshua Peek
380431e4ed
Fix test_rescue_routing_exceptions when running with rake
2009-04-21 21:11:23 -05:00
Joshua Peek
0b92bb97c1
refactor some coupled rescue tests
2009-04-21 20:41:31 -05:00
Joshua Peek
fc5c1b0e90
Session tests belong under dispatch folder
2009-04-21 19:57:18 -05:00
Jeremy Kemper
5afc2abee6
Merge branch 'master' into cherry
2009-04-21 16:03:21 -07:00
Jeremy Kemper
f49e344128
Reinstate Base#render_to_string. Introduce AbstractController#render_to_string which stringifies render_to_body.
2009-04-21 16:02:30 -07:00
Alex Pooley
504d16ccdf
Add microsecond support for sqlite adapter [ #1982 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-04-21 18:05:07 +01:00
Stephen Celis
7a99dc0ac2
Update rails:template task to expand file paths [ #2528 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-04-21 17:44:35 +01:00
Pratik Naik
d7d93cdb62
Fix nginx config in ci setup notes [Chad Woolley] [ #2290 state:resolved]
2009-04-21 17:31:26 +01:00
Mike Gunderloy
398b07e655
Remove excess mocking from polymorphic_url tests [ #2330 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-04-21 14:32:52 +01:00
Pratik Naik
2e6d1bf43e
Change table to prevent copying indexes on sqlite2
2009-04-21 13:28:49 +01:00
Pratik Naik
2381f6f3dc
Specify :group with the table name for it to work on sqlite3
2009-04-21 13:11:56 +01:00
Pratik Naik
6513dde490
Fix tests for sqlite3 3.6.xx
2009-04-21 13:06:26 +01:00
Max Lapshin
f3ac4f387d
Fixed dumping from postgresql columns in index in wrong order. [ #2515 state:resolved]
...
Signed-off-by: Tarmo Tänav <tarmo@itech.ee >
2009-04-21 11:44:13 +01:00
Scott Woods
64b33b6cf9
Quote table names when casting to regclass so that capitalized tables are supported. [ #2418 state:resolved]
...
Signed-off-by: Tarmo Tänav <tarmo@itech.ee >
2009-04-21 11:43:38 +01:00
Max Lapshin
cdcd638c2f
Fixed wrong quoting of index names in postgres [ #2402 state:resolved]
...
Signed-off-by: Tarmo Tänav <tarmo@itech.ee >
2009-04-21 11:42:40 +01:00
Jeremy Kemper
696375ac62
Merge branch 'master' into cherry
2009-04-20 20:06:30 -07:00