Commit Graph

17562 Commits

Author SHA1 Message Date
Neeraj Singh
3265af5c8b adding more test cases for expand_cache_key 2010-07-28 21:02:44 +08:00
Neeraj Singh
194ec3d165 removing unused variable 2010-07-28 21:02:44 +08:00
wycats
eff074951e Fix middleware test 2010-07-27 21:10:30 -07:00
Aaron Patterson
fe9d7abb39 slight performance improvement when grabbing an arel table 2010-07-27 21:05:11 -07:00
Jon Buda
9d109302f1 fixed joining of attributes when using find_or_create_by with multiple attributes through an association
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-07-28 00:42:48 -03:00
wycats
aa24ea41d0 Forgot to check in this new file 2010-07-27 20:38:26 -07:00
wycats
123eb25fd1 Add a header that tells Internet Explorer (all versions) to use the best available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin.
This guarantees that the best available standards support will be used on the client.
2010-07-27 19:25:07 -07:00
Xavier Noria
e17e08efef adds test coverage for edge-cases of Array.wrap, and better documentation for how it differs from Kernel#Array 2010-07-28 03:49:04 +02:00
rohit
5d3e8ee2bd Fix app generator so that it uses the right app_name during rails:update rake task. [#5207 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-27 11:34:59 +02:00
Santiago Pastorino
a2ca9cb78d This is a hash in 1.9.2 2010-07-26 20:09:34 -03:00
Chad Fowler
b6f9932561 fix bad logic in determining if in rails app subdir
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
v3.0.0_RC
2010-07-26 16:40:46 -05:00
David Heinemeier Hansson
d283ca34a9 Fix deprecation message on info screen 2010-07-26 16:35:27 -05:00
Nick Sieger
f427fdd13a JRuby should not need system_timer, and cannot install it either
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-07-26 18:18:11 -03:00
David Heinemeier Hansson
f79f9a74a4 Add install script for testing gems locally 2010-07-26 16:09:10 -05:00
David Heinemeier Hansson
06b95314db Spaces, people, spaces! 2010-07-26 15:43:22 -05:00
David Heinemeier Hansson
3bdaa099ad Make Rails 3 RC depend on Bundler RC 2010-07-26 15:30:23 -05:00
Santiago Pastorino
4ac3ae0685 missing requires added 2010-07-26 16:26:07 -03:00
David Heinemeier Hansson
e71815b988 Rails version update 2010-07-26 13:51:47 -05:00
David Heinemeier Hansson
856fc4bbc3 Prep for RC 2010-07-26 12:53:25 -05:00
José Valim
dd61a817de Move runtime back to the Thread.current 2010-07-26 19:14:56 +02:00
Aaron Patterson
32844cbc02 fixing space errors 2010-07-26 09:58:35 -07:00
Wincent Colaiuta
c819c131f2 doc: cleanup respond_to documentation
Signed-off-by: Wincent Colaiuta <win@wincent.com>
2010-07-26 18:55:51 +02:00
Santiago Pastorino
fd589db863 Changed returning with tap on guides 2010-07-26 18:55:51 +02:00
Leigh Caplan
37d82f2ca0 Test to ensure that falsy objects aren't wrapped by deprecation proxies 2010-07-26 09:53:42 -07:00
Leigh Caplan
e56c9ef08d Override new on proxy objects so that they never wrap nil or false. 2010-07-26 09:53:42 -07:00
Bernerd Schaefer
e87e3db200 XmlMini.rename_key emits valid xml with dasherize
This resolves issues for libraries which use '_' prefixed keys in their
attributes hash, such as Mongoid. A key like "_id" or "_type" will no
longer be converted to "<-id>" and "<-type>".

Signed-off-by: wycats <wycats@gmail.com>
2010-07-26 09:48:22 -07:00
Santiago Pastorino
4ea1753fc2 This is for making sure const_missing is triggered without warnings 2010-07-26 12:51:52 -03:00
Santiago Pastorino
514624e53c Fixes usage message when running rails without --dev on a cloned rails repo 2010-07-26 12:51:48 -03:00
Neeraj Singh
a44652baed No need to check for :uniq
[#5170 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 17:41:04 +02:00
Łukasz Strzałkowski
da845275dd Removed deprecated APIs in text and number helpers [#5156 state:resolved]
They're deprecated since 2008. It's time to get rid of them.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 17:26:59 +02:00
Thiago Pradi
f70c0b348d Removing unnecessary code [#5192 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 17:13:52 +02:00
Josef Reidinger
0e969bdaf8 fix escaping id and parameters in path [#5137 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 16:59:47 +02:00
Neeraj Singh
78c8242d2f strengthening the test suite for rescue_from
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 16:48:50 +02:00
Neeraj Singh
a5bb1f511f strengthening the rescue_from test suites
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-26 16:48:45 +02:00
José Valim
9789d22137 Update to latest thor. 2010-07-26 11:41:52 +02:00
wycats
1b97701e51 Fix a bug where requires inside of autoloads were being added to the autoloaded_constants list, causing mayhem. [#5165 state:resolved] 2010-07-26 00:59:54 -07:00
Aaron Patterson
13df581ec7 using AREL from the environment if it exists 2010-07-25 16:44:14 -07:00
Aaron Patterson
53fbbf4b83 fisting warning 2010-07-25 16:28:21 -07:00
Santiago Pastorino
2c4fcec44d Gemfile now makes use of platforms calls with blocks instead of elsif logic to define dependencies over specific platforms 2010-07-26 06:42:44 +08:00
Santiago Pastorino
8abcd49995 Bump up bundler 2010-07-26 06:42:44 +08:00
Santiago Pastorino
963c71edfa Don't interpolate a blank string, avoid warnings 2010-07-26 06:42:44 +08:00
Xavier Noria
6aa1253588 Merge remote branch 'docrails/master' 2010-07-26 00:23:57 +02:00
Aaron Patterson
df95948d45 do not execute the session tests within transactions 2010-07-25 15:17:03 -07:00
Xavier Noria
dcb7832ed5 APIs for individual components are no longer published 2010-07-26 00:05:14 +02:00
Xavier Noria
06853cb0a9 AS guide: Object#returning is gone 2010-07-25 23:42:24 +02:00
Santiago Pastorino
9a32af96d1 CHANGELOG updated Object#returning removed
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-25 23:30:36 +02:00
Santiago Pastorino
b0b9bf3204 Object#returning removed
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-25 23:30:27 +02:00
José Valim
f4200b0cd5 Cache instrumenter again as per Aaron's patch. 2010-07-25 23:00:15 +02:00
Carlos Antonio da Silva
751f89b8b2 Add assertion to link_to_function test with block and capture, and more expressive test name [#5179 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-25 23:00:15 +02:00
Xavier Noria
92669b8320 application generation: --skip-testunit and --skip-activerecord renamed to --skip-test-unit and --skip-active-record respectively
Reason is their proper spellings are "Test::Unit" and "Active Record".
Option names and descriptions have been revised, as well as some method
names and minor details here and there.
2010-07-25 22:55:38 +02:00