Commit Graph

17759 Commits

Author SHA1 Message Date
Aaron Patterson
0f502ab88f avoiding tap saves us time 2010-08-11 11:44:08 -07:00
Aaron Patterson
2b8f24998e unless Array#empty? is faster than if Array#present? 2010-08-11 11:44:04 -07:00
Aaron Patterson
3c11e92616 stop using private methods 2010-08-11 11:43:57 -07:00
José Valim
25f1e015c0 Ensure @config is not a reserved instance variable in controllers. [#5342 state:resolved] 2010-08-11 10:26:07 -03:00
José Valim & Carlos Antonio da Silva
f08b58dd0c layout_for works again with objects as specified in the documentation and Rails 2.3 [#5357 state:resolved] 2010-08-11 10:23:07 -03:00
Nick Sieger
f5c5cdd4ae Missed one spot for --skip-active-record, which means that new Gemfile isn't set up right
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-11 00:42:45 -03:00
Gonçalo Silva
58add1b63c added support for more printers 2010-08-10 10:23:40 -07:00
José Valim
e86cced311 Revert "require_dependency should require using the normal mechanism if possible to avoid double-requires"
This was causing double requires since 991cd59a225b90ab1ba3 was reverted.
This reverts commit 8bf79739b4219eb1d6464e6eb4853e92e81d7621.
2010-08-10 11:18:58 -03:00
Xavier Noria
fff917e37d fixes a typo reported by rymai 2010-08-10 15:34:54 +02:00
Xavier Noria
2a984806ca AS guide: removes some duplication, and makes a second pass on method delegation 2010-08-10 11:52:37 +02:00
Xavier Noria
347d604792 adds the AS guide to the guides index 2010-08-10 04:10:32 +02:00
Xavier Noria
5fc8af4712 AS guide: documents Module#redefine_method 2010-08-10 04:10:32 +02:00
Xavier Noria
ae147b45bb AS guide: documents Module#(instance_)method_names 2010-08-10 04:10:32 +02:00
Tobias Lütke
cb9295c8a1 Added test case to verify that transaction callbacks are correctly propagated to class observers 2010-08-09 21:36:06 -04:00
Xavier Noria
a5d401aa99 AS guide: documents Module#delegate 2010-08-10 03:28:59 +02:00
Xavier Noria
41328815c0 AS guide: documents Process.daemon 2010-08-10 01:55:09 +02:00
Xavier Noria
898bd38d7a AS guide: documents date/datetime/time arithmetic with durations 2010-08-10 01:30:37 +02:00
Jeremy Kemper
394f4c9679 Merge remote branch 'brianmario/mysql2' 2010-08-09 15:17:17 -07:00
Brian Lopez
188855501b move mysql2 adapter into core 2010-08-09 14:52:00 -07:00
Brian Lopez
94cff67bd1 ignore this test for mysql2 2010-08-09 12:50:09 -07:00
Brian Lopez
ee9c950f2f bringing over latest from master 2010-08-09 12:43:49 -07:00
wycats
7171161124 rename _snowman to _e 2010-08-09 12:06:25 -07:00
wycats
6767946374 Improve best_standards_support to use only IE=Edge in development mode 2010-08-09 11:48:31 -07:00
Xavier Noria
4f7565c4de adds missing requires for Object#try 2010-08-09 15:25:21 +02:00
Xavier Noria
505546af70 form helpers guide: fixes an example 2010-08-09 14:11:05 +02:00
Xavier Noria
4434e407e9 adds URL to the body generated by the redirect macro in the routes mapper as per the RFC, extracts common test pattern into a test macro, adds a test to cover the :status option 2010-08-09 13:31:42 +02:00
Xavier Noria
d87c57bf3e AC guide: commit review, block examples go at column 0, use .example.com as example domain 2010-08-09 12:21:21 +02:00
Adam Meehan
9a43640ed1 typo in AM 2010-08-09 13:44:04 +10:00
Daniel McNevin
678aeb7e48 updated the action_controller guide with the new session configuration options 2010-08-08 19:57:42 -04:00
Xavier Noria
4d3b2ea68b Merge remote branch 'rails/master' 2010-08-08 18:35:43 +02:00
Xavier Noria
b7c4523a94 Merge remote branch 'docrails/master' 2010-08-08 18:33:55 +02:00
Xavier Noria
ddeaf6c887 routing guide: documents the CONTROLLER environment variable understood by the routes task 2010-08-08 18:31:19 +02:00
Xavier Noria
5598d3ac2e updates horo dependency to 1.0.1 2010-08-08 11:28:50 +02:00
Xavier Noria
997021eb29 undoes one of the modifications to RDoc::Parser.binary? 2010-08-07 20:10:01 +02:00
Xavier Noria
0953c04cf5 quick hack: hijacks the predicate RDoc::Parser.binary? so that it does not consider a handful of ordinary Ruby files in the Rails tree as binary (and thus excluded from the API) 2010-08-07 15:18:22 +02:00
Xavier Noria
aed698a7c8 adds Abstract Controller to the API 2010-08-07 01:42:09 +02:00
Aaron Patterson
334452098e reduce the number of times current_connection_id is called in with_connection() 2010-08-06 16:39:12 -07:00
Aaron Patterson
e1596be323 test to ensure that respond_to? delegates to arel 2010-08-06 15:23:25 -07:00
Aaron Patterson
d082a9a2b8 sorry AR, my privates are none of your business 2010-08-06 14:53:01 -07:00
Xavier Noria
672c796ac4 fix reference to time/calculations.rb in AS guide 2010-08-06 22:46:43 +02:00
Neeraj Singh
fc01adee79 correcting wrong example 2010-08-06 15:51:52 -04:00
Neeraj Singh
74dde5951a updating documentation for method configure_dependency_for_has_many 2010-08-06 15:24:53 -04:00
Aaron Patterson
12b3eca420 do not rely on arel class structure 2010-08-06 11:31:05 -07:00
Xavier Noria
62bb83d0a2 AS guide: documents calculations with Time objects 2010-08-06 17:29:52 +02:00
Xavier Noria
3e678240f4 edit pass to AMo::Serializers::JSON 2010-08-06 13:56:38 +02:00
Xavier Noria
23abf46112 AR guide: fixes a query 2010-08-06 13:33:02 +02:00
Xavier Noria
e0a0638094 commit review: say clearly that AS::OrderedHash is about insertion order, be more neutral in wording, do not imply lack of ordering is a problem 2010-08-06 13:11:44 +02:00
Neeraj Singh
cdbc880055 adding documentation for OrderedHash and OrderedOptions 2010-08-06 01:51:11 -04:00
Neeraj Singh
d0ac56b5b4 adding an example of skipping a callback 2010-08-06 01:51:11 -04:00
Xavier Noria
d62700f7dc Merge remote branch 'docrails/master' 2010-08-05 22:56:15 +02:00