Commit Graph

17544 Commits

Author SHA1 Message Date
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
José Valim
331df84cc9 Cache connection access. 2010-07-25 21:01:49 +02:00
José Valim
304c49b146 Move runtime back to connection. 2010-07-25 20:59:37 +02:00
José Valim
ff0d842454 Revert the previous three commits.
* AS::Notifications#instrument should not measure anything, it is not its responsibility;

* Adding another argument to AS::Notifications#instrument API needs to be properly discussed;
2010-07-25 20:46:42 +02:00
Aaron Patterson
0d0e793983 look up connection once 2010-07-25 11:16:13 -07:00
Aaron Patterson
fc088d4e8f cache the instrumentor for a speed gain 2010-07-25 11:11:51 -07:00
Aaron Patterson
b7e0408ca9 use a hash to collect optional statistics about the instrumentation 2010-07-25 11:11:23 -07:00
José Valim
d02f2d2fb2 runtime should be properly initialized. 2010-07-25 18:26:42 +02:00
José Valim
82c7ef837d Move runtime to log subscriber. 2010-07-25 16:42:05 +02:00
Santiago Pastorino
b1cfcedc8f Change returning with tap
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-25 16:33:04 +02:00
Sebastian A. Espindola
8d5b792e7d Fixed output_buffer encoding problem [#5179]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-25 16:33:04 +02:00
Arkadiusz Holko
7fb7a2bd69 Fixes syntax error in "with_scope" example 2010-07-25 05:29:40 -07:00
Santiago Pastorino
749948a264 Removing one AS/lib ruby and rake adds to $LOAD_PATH 2010-07-25 08:27:00 +08:00
Jack Dempsey
9a9fb12623 Fix small middlewares typo 2010-07-24 15:28:45 -04:00
José Valim
834bd23a07 Get rid of instrumenter.elapsed. 2010-07-24 10:22:22 +02:00
Neeraj Singh
082ca51d65 bringing consistency in comments 2010-07-24 00:45:53 -04:00
Santiago Pastorino
85980852a0 make a throwaway value equals to _ to avoid warnings
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-24 01:19:55 +02:00
Santiago Pastorino
8289661903 Make this test, test again
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-24 01:19:47 +02:00
Santiago Pastorino
e1d4e78b15 Removes unused vars
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-24 01:19:44 +02:00