Andrew Vit
16b3d2b621
Added :env option for gem in template runner [ #1983 state:resolved]
...
For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb:
gem 'rspec', :env => 'test'
gem 'quietbacktrace', :env => %w[development test]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 17:59:01 +00:00
Pratik Naik
8607740a29
Ensure the old behaviour is retained when action_view.cache_template_loading is not set explicitly
2009-02-28 17:42:15 +00:00
Mike Gunderloy
c653f700d3
Fix that scoped find with :group and :having [ #2006 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 17:35:58 +00:00
Mike Gunderloy
dcd9c7f58e
Fix spelling in test name.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 15:35:03 +00:00
Gregg Pollack
f2a32bd0de
Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable [ #2095 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-28 10:33:42 +01:00
David Heinemeier Hansson
7058c1366e
So it didnt happen yesterday, but very soon! Just need the final details ironed out
2009-02-28 10:30:49 +01:00
Jeremy Kemper
df2adc4c51
Merge branch 'master' of git@github.com:rails/rails
2009-02-27 12:21:34 -08:00
Jeremy Kemper
884068a13a
Skip console test when using minitest
2009-02-27 12:19:23 -08:00
Jeremy Kemper
1ceddd9514
Skip backtrace filter test when using minitest
2009-02-27 12:18:45 -08:00
Jeremy Kemper
eb217b2cf0
Ruby 1.9 compat: limit const_defined?
2009-02-27 12:18:18 -08:00
Jeremy Kemper
f732c16808
Invoke tests with the same ruby
2009-02-27 12:12:42 -08:00
Sven Fuchs
943d64b1c8
Vendorize i18n 0.1.3 gem (fixes issues with incompatible character encodings in Ruby 1.9) (Akira Matsuda) [ #2038 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 17:15:15 +01:00
David Heinemeier Hansson
77b0994c78
Prep for RC2 later today
2009-02-27 14:46:23 +01:00
Zack Hobson
ff894b55dd
Update rdoc: all is not a named_scope [ #1959 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 14:43:11 +01:00
Matthew Rudy Jacobs
319106d09c
Metal can now line in plugins under app/metal [ #2045 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 14:37:11 +01:00
David Heinemeier Hansson
6de83562f9
Force all internal calls to Array#to_sentence to use English [ #2010 state:resolved]
2009-02-27 14:22:39 +01:00
Eloy Duran
e2b925fa68
Don't validate records of an :autosave association if they're marked for destruction. [ #2064 status:resolved]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 13:57:27 +01:00
Eloy Duran
3d1d422b8b
Pass a custom form builder on to nested fields_for calls. [ #2023 status:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 13:56:27 +01:00
David Heinemeier Hansson
5cda000bf0
Fixed that autosave should validate associations even if master is invalid [ #1930 status:committed]
2009-02-27 13:50:24 +01:00
Jeremy Kemper
dec91a2e06
Fix test failure introduced by 6099f261ea
2009-02-25 14:01:44 -08:00
Manfred Stienstra
6099f261ea
Test view path loading from the initializer.
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-25 12:49:21 -06:00
Manfred Stienstra
ea5d288606
Test database middleware loading from the initializer.
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-25 12:49:10 -06:00
Manfred Stienstra
809409d92f
Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement.
...
- Make sure ConnectionManagement clears connections after each call, except in tests
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-25 12:48:53 -06:00
Sam Granieri
0a8c003b1e
Ruby 1.9 compat: silence a warning about regexp languages
...
[#2050 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-25 09:38:26 -08:00
rick
1cfc39e7e7
update the default scope test to take the model's default scope into account
2009-02-25 09:27:44 -08:00
Diego Algorta
0dd2f96f5c
Fixed bug that makes named_scopes _forgot_ current scope
2009-02-25 09:21:08 -08:00
Joshua Peek
92a30b0c88
missed template fixtures with ~
2009-02-24 11:36:58 -06:00
Joshua Peek
1b22071b27
Ensure ActiveRecord session store's connections are checked in after each request [ #1927 state:resolved]
2009-02-24 11:34:32 -06:00
Joshua Peek
d32eb410f1
Put back dispatcher cleanup call in console reload! [ #2056 state:resolved]
2009-02-24 10:52:51 -06:00
Marcus Mateus
5c684f518f
Just require tmail instead of autoloading it to fix issues when using the gem
...
version [#1851 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-24 10:47:50 -06:00
thedarkone
85df4841dd
Template without a known template handler should only be reachable through its exact path. [ #2027 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-24 10:41:45 -06:00
Matt Jones
b35562f432
correctly handle layouts for AJAX requests and regular js files [ #2052 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-24 10:38:07 -06:00
Pratik Naik
53cd102b39
Merge with docrails
2009-02-24 12:29:25 +00:00
Jeremy Kemper
e56b3e4c0b
Update bundled memcache-client from 1.5.0.5 to 1.6.4.99.
...
See http://www.mikeperham.com/2009/02/15/memcache-client-performance/
2009-02-23 19:28:01 -08:00
David Heinemeier Hansson
45787bdd0e
Fix docs
2009-02-23 12:20:37 +01:00
David Heinemeier Hansson
d13623ca46
Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for batch processing [DHH/Jamis Buck]
2009-02-23 12:11:02 +01:00
Sven Fuchs
441e4e2235
load plugin view_paths to action_mailer view_paths and make action_mailer use them [ #2031 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-22 10:39:56 -06:00
Guillermo Álvarez
ff1afbd650
Deprecated warnings for :skip_last_command and :connector of to_sentence [ #1847 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-22 16:11:40 +01:00
David Heinemeier Hansson
b61cad6ae1
Ensure that the app routes file is loaded even when engines are in play (Thjis) [ #1970 state:committed]
2009-02-22 16:04:04 +01:00
Jeremy Kemper
57cca81cae
Don't depend on project.developers ordering
2009-02-21 21:17:17 -08:00
moro
b6c8379834
Expected cookie value should also be escaped.
...
Ruby 1.9 compat for test.
[#1965 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-21 21:11:50 -08:00
Michael Koziarski
06040849b5
Revert "Wrap calls to update_attributes in a transaction."
...
This caused failures on sqlite, sqlite3 and postgresql
This reverts commit fc09ebc669 .
[#922 state:reopened]
2009-02-22 16:41:04 +13:00
Andrew White
3248553d32
Fix requirements regexp for path segments
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1772 state:committed]
2009-02-22 15:35:22 +13:00
Andrew White
f7a0a394f4
Remove hardcoded number_of_capturesin ControllerSegment to allow regexp requirements with capturing parentheses
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1887 state:committed]
2009-02-22 15:34:01 +13:00
Xavier Noria
fc09ebc669
Wrap calls to update_attributes in a transaction.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#922 state:committed]
2009-02-22 15:31:27 +13:00
Jeremy Kemper
f4391c362d
Update changelog for URI.unescape fix
...
[#2033 state:committed]
2009-02-20 18:41:42 -08:00
Jeremy Kemper
69bbbe9068
Broaden URI.unescape fix to all affected 1.9.x by checking for broken behavior instead of specific patchlevel
2009-02-20 18:38:18 -08:00
moro
bfe7d518a7
fix test data, should specify encoding to use multibyte chars on Ruby 1.9
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-20 18:25:19 -08:00
Jeremy Kemper
98ddc64782
URI.unescape fix removes the old unescape method
2009-02-20 18:25:02 -08:00
moro
3b3dbd7973
Ruby 1.9.1p0's URI.decode() bug fix
...
backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005].
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-20 18:18:39 -08:00