Commit Graph

17728 Commits

Author SHA1 Message Date
Neeraj Singh
190e270db2 adding more documentation for autosave option 2010-08-09 13:37:51 -04: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
Xavier Noria
02e711bf1c documents that :terminator is a string to be eval'ed, and that it sees the result variable 2010-08-05 22:54:43 +02:00
Xavier Noria
232218f465 Revert "correcting the documentation that default to false. it does not default to false. returing either false or nil will not halt the chain unless :terminator is explicitly mentioned"
This reverts commit cd87cf771acb90c43cd56e5f038fc345a69790f9.

Reason: it does default to "false".
2010-08-05 22:46:04 +02:00
Neeraj Singh
86842fd1ce fixing typo 2010-08-05 16:35:40 -04:00
Neeraj Singh
5130b0cf45 more documentation for class_inheritable_* 2010-08-05 11:55:45 -04:00
Neeraj Singh
cd87cf771a correcting the documentation that default to false. it does not default to false. returing either false or nil will not halt the chain unless :terminator is explicitly mentioned 2010-08-05 11:55:45 -04:00
Aaron Patterson
1ca18a6f85 fixing whitespace errors 2010-08-05 08:15:22 -07:00
Xavier Noria
8a657c0dc7 adds test coverage to ensure DateTime#advance processes first the date deltas, and then the time deltas 2010-08-05 16:12:43 +02:00
Xavier Noria
9989d3337f Merge remote branch 'docrails/master' 2010-08-05 15:56:42 +02:00
Xavier Noria
02572399a5 AS guide: documents DateTime#advance 2010-08-05 14:10:07 +02:00
Tom Stuart
f544c0a32d Fix ActiveSupport::Callbacks' define_callbacks and ActiveSupport::Concern documentation to look like native English 2010-08-05 09:06:47 +01:00
Aaron Patterson
117b096d0a avoid passing lists of lists to the group clause 2010-08-04 16:24:01 -07:00
Xavier Noria
3cbe111439 Merge remote branch 'docrails/master' 2010-08-05 01:15:57 +02:00
Xavier Noria
d191db76e0 standarizes the use of the article "an" for "SQL" and "SQLite" 2010-08-05 01:09:09 +02:00
Aaron Patterson
ec736dff7b call to_a since we are not passing anything to all() 2010-08-04 14:22:29 -07:00
Aaron Patterson
30abb01d07 fisting indentation 2010-08-04 14:11:30 -07:00
Neeraj Singh
589e6977d7 adding documentation to ActiveSupport::Concern ht:strictly typed for an awesome example
some minor documentation changes
2010-08-04 17:03:03 -04:00
Piotr Sarnacki
84f0a0bc30 Reload action_methods in AbstractController after defining new method.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-04 14:44:34 -03:00
José Valim
462666b737 Revert "If a file is in the load path, require it without its full path (in more places)"
Caused failures in ActionMailer test suite.

This reverts commit 991cd59a225b90ab1ba31867810b8fc0942713eb.
2010-08-04 14:17:46 -03:00
Aaron Patterson
cff7f53fbc do not pass AR objects to ARel 2010-08-04 08:44:53 -07:00
José Valim
7e2399a42f Revert "Put lib back on the autoload path"
This was causing engines/gems to eager load everything in lib. Another fix is comming soon.

This reverts commit 02a5842cd09bd75de4c2fdb6b474c6c0ff163ebf.
2010-08-04 14:13:50 +02:00
Simone Carletti
7745f716a1 Fixed Railtie Rdoc examples not properly formatted [#4918 state:resolved]
Signed-off-by: Simone Carletti <weppos@weppos.net>
2010-08-04 13:27:14 +02:00
wycats
c25c3879ce I'm unsure how cloning was working in Rails 3 before 2010-08-04 04:05:54 -07:00
wycats
847c123ca5 Concernify SanitizeHelper and TextHelper so including TextHelper correctly include SanitizeHelper and extends its ClassMethods 2010-08-04 03:25:57 -07:00
wycats
991cd59a22 If a file is in the load path, require it without its full path (in more places) 2010-08-04 03:25:57 -07:00
wycats
8bf79739b4 require_dependency should require using the normal mechanism if possible to avoid double-requires 2010-08-04 03:25:57 -07:00