10211 Commits

Author SHA1 Message Date
David Heinemeier Hansson
eec6e0cbbd Push to new gem server 2008-10-23 20:18:11 +02:00
David Heinemeier Hansson
57c31a380e Prepare for Rails 2.2.0 [RC1] 2008-10-23 20:14:20 +02:00
Pratik Naik
1a0e7390fc Fix a typo in fxn's name 2008-10-23 19:26:52 +05:30
Pratik Naik
a8ba6773a7 Add release notes 2008-10-23 19:19:23 +05:30
Pratik Naik
896058b485 Merge with docrails 2008-10-22 23:14:00 +05:30
Pratik Naik
a03e2b356c Merge with docrails. Also add a rake task to generate guides in your rails application :
rake doc:guides

The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
2008-10-21 18:33:40 +01:00
David Heinemeier Hansson
18542c9e00 Dont try to auto-set the etag based on the body if any freshness headers have already been set [DHH/José Valim] 2008-10-21 16:58:12 +02:00
Pratik Naik
a5cdb7a813 Remove stuff that was deprecated in 2-1-stable 2008-10-21 11:34:56 +01:00
David Heinemeier Hansson
6fae0a0ec0 No use case handy for justifying fresh? any more 2008-10-21 10:20:30 +02:00
David Heinemeier Hansson
d85a7aecbb Merge branch 'master' of git@github.com:rails/rails 2008-10-21 02:55:30 +02:00
David Heinemeier Hansson
448e7e7c04 Let fresh_when actually do the head(:not_modified). Cleaner and we get the filter halting for free then. 2008-10-21 02:54:55 +02:00
Pratik Naik
326036de46 Fix script/generate warning 2008-10-21 01:47:44 +01:00
David Heinemeier Hansson
68d84e2593 Merge branch 'master' of git@github.com:rails/rails 2008-10-21 02:30:57 +02:00
David Heinemeier Hansson
9acb88e666 Added stale?/fresh? and fresh_when methods to provide a layer of abstraction above request.fresh? and friends [DHH] 2008-10-21 02:30:13 +02:00
Matt Jones
326030a1e8 config.gem: Fix typo in unpack, skip dependencies on unloaded gems, and silence spec warnings on refresh. [#1128]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-10-20 21:45:01 +01:00
Tim Harper
fcb45e5ec3 Ensure ActionView::Helpers::AssetTagHelper::AssetTag::Cache is cleared before loading so changes to asset files are picked up by the broswer [#1233 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2008-10-20 13:21:59 -05:00
Geoff Garside
1082cba441 Bump active_support/vendor.rb tzinfo version number [#1237 state:resolved] 2008-10-20 09:13:45 -05:00
gbuesing
c79f1d281f TimeWithZone#freeze: preload instance variables so that we can actually freeze 2008-10-19 22:33:26 -05:00
gbuesing
93e1bff82a Bundle TzInfo version 0.3.11 2008-10-19 22:06:32 -05:00
Pratik Naik
39e1911463 Expose default value of database connection pool in generated database.yml 2008-10-19 19:54:35 +01:00
Michael Koziarski
ba80ff74a9 Sanitize the URLs passed to redirect_to to prevent a potential response splitting attack.
CGI.rb and mongrel don't do any sanitization of the contents of HTTP headers, so care needs to be taken.
2008-10-19 15:24:18 +02:00
Daniel Schierbeck
de0ed534f6 Simplified the implementation of the :prefix option.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#984 state:committed]
2008-10-19 13:42:57 +02:00
Daniel Schierbeck
32a58d2afc Added documentation of the new :prefix option.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
0cb382cb6f Moved test object instantiation to a setup method.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
ab2b1570fd Made the :prefix option on Module#delegate accept a custom prefix.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
731c63f8eb Added :prefix option to Module#delegate.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-19 13:42:52 +02:00
Michael Koziarski
6d1d48de6a Memoize the require and construction of the StringInquirer 2008-10-19 13:26:36 +02:00
Pratik Naik
550fbccedd Fix test warnings 2008-10-17 23:57:54 +02:00
Pratik Naik
ffbd7dd8ee CHANGELOG entry for the previous commit (18e7bf2865) 2008-10-17 23:48:41 +02:00
Pratik Naik
18e7bf2865 Fix Brasilia timezone. [#1180 state:resolved] 2008-10-17 23:43:26 +02:00
Pratik Naik
5384ba3081 Don't create test/performance/test_helper.rb. Just require the needed files from test directly. [#1135 state:resolved] 2008-10-17 22:58:37 +02:00
Doug Barth
47be090d37 Skip tests that depend on memcached if not running.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-17 18:09:38 +02:00
Doug Barth
4b63c2700f Bring MemCacheStore and CompressedMemCacheStore inline with expected counter manipulation semantics.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-17 18:09:27 +02:00
Doug Barth
c3d6205a4b Fix cache counter semantics for MemoryCache, FileStoreCache, and (presumably) the DRbStore.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-17 18:09:26 +02:00
Pratik Naik
95c609357e Ensure association proxy responds to private class methods defined in associated class. [#1083] 2008-10-16 23:17:49 +02:00
Pratik Naik
9cb5400871 Merge docrails 2008-10-16 22:13:06 +02:00
Ian White
517bc500ed Allow class methods to be sent (via #send) to association proxy (fix for bug introduced by 691aa20) [#1083]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-10-16 10:41:48 +02:00
Michael Koziarski
09c1718198 Remove the class_path from the collisions test.
The class_path is often taken already in situations like Admin namespaces etc.
2008-10-14 21:59:55 +02:00
Michael Koziarski
3e9fc279e5 Avoid warnings by undefining the old method transliterate. 2008-10-14 21:24:34 +02:00
Michael Koziarski
e0993c6c37 Reverse the order of the iconv arguments to remain compatible with older rubies / iconvs.
[#1195 state:resolved]
2008-10-14 21:24:19 +02:00
Joshua Peek
9ab83b1cd1 Don't include the path when checking class collisions [#545 state:resolved] 2008-10-13 21:43:58 -05:00
gbuesing
c51db4d7ab Enhance testing for fractional days and weeks. Update changelog. 2008-10-13 20:18:56 -05:00
Tom Lea
a6e5d29e08 Added deprecated warning messages to Float#months and Float#years deprications. 2008-10-13 20:00:10 -05:00
Tom Lea
d599b80009 Deprecated Float#years and Float#months, moved Numeric#years and Numeric#months into Integer. 2008-10-13 20:00:09 -05:00
Tom Lea
27c70ff386 Time#advance recognizes fractional days and weeks [#970 state:resolved] 2008-10-13 20:00:09 -05:00
David Heinemeier Hansson
1abdc8752d Added inline builder yield to atom_feed_helper tags where appropriate (Sam Ruby) [#8994 status:committed] 2008-10-13 19:52:37 +02:00
Pratik Naik
691aa20280 Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik] 2008-10-13 19:02:34 +02:00
Matthew M. Boedicker
42cbd710bb Add support for xml processing instructions in atom_feed_helper [#926 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-10-13 18:46:32 +02:00
Eloy Duran
b47c76b1df Make sure named routes with parameters can be used in tests before a request has been done. [#1208 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-10-13 18:38:48 +02:00
Matt Jones
1b44bbff42 Initialize silence_spec_warnings
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1128 state:resolved]
2008-10-13 17:27:31 +02:00