Commit Graph

2569 Commits

Author SHA1 Message Date
Josep M. Bach
664afe37dd Add example label to activesupport/configurable 2010-08-15 02:22:38 +02:00
Xavier Noria
21bbcfe42c reviews commit dcc9d38 2010-08-15 02:22:37 +02:00
Josep M. Bach
c7adc96186 Documented active_support/configurable 2010-08-15 02:22:37 +02:00
Josep M. Bach
ca87d0a395 Documentation just before Concern module 2010-08-15 02:22:37 +02:00
Josep M. Bach
98818f92b8 Documented active_support/concern dependency handling 2010-08-15 02:22:37 +02:00
Santiago Pastorino
b95d6e84b0 Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
Santiago Pastorino
535082fe3e deprected -> deprecated 2010-08-14 03:55:14 -03:00
Xavier Noria
4134d7db34 Merge remote branch 'docrails/master' 2010-08-12 17:36:09 +02:00
Paco Guzman
8a2b69b727 applied guidelines to "# =>" 2010-08-12 17:09:58 +02: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
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
Neeraj Singh
fc01adee79 correcting wrong example 2010-08-06 15:51:52 -04: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
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
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
Xavier Noria
3cbe111439 Merge remote branch 'docrails/master' 2010-08-05 01:15:57 +02: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
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
José Valim
88b5f938cf Bring returning back to ease migration. 2010-08-02 18:40:20 +02:00
Chris Hoffman
59cf514a5b Add missing require in ActiveSupport::HashWithIndifferentAccess [#5189 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-02 16:18:33 +02:00
Xavier Noria
f78de68649 explains Array.wrap directly, rather by comparison with Kernel#Array which is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator 2010-08-01 03:19:58 +02:00
Santiago Pastorino
5132081975 AS gem doesn't depend on nokogiri so shows a nicer error if users haven't installed 2010-07-30 16:05:51 -03:00
Santiago Pastorino
95e9ced581 Make options an attr_reader 2010-07-30 12:09:47 -03:00
Carl Lerche
d277b823d0 Add another missing require in 'active_support/inflector/inflections' 2010-07-29 22:53:21 -07:00
Xavier Noria
ccd45618ed Merge remote branch 'rails/master' 2010-07-30 02:35:24 +02:00
Xavier Noria
755af49755 edit pass to apply API guideline wrt the use of "# =>" in example code 2010-07-30 02:30:04 +02:00
Neeraj Singh
3c3ff1377d Adding documentation regarding lazy_load_hooks 2010-07-29 13:05:54 -04:00
Carl Lerche
d04c6f2ff6 Add a missing require in 'active_support/core_ext/string/inflections' 2010-07-29 08:51:23 -07:00
Neeraj Singh
627d870c92 itsy bitsy changes to documentation 2010-07-28 22:44:32 -04:00
José Valim
7c3d479c4b More documentation to class_attribute. 2010-07-28 08:49:54 -07:00
Neeraj Singh
dea8bf5dc4 editing the documentation regarding :race_condition_ttl and :expires_in option in AS cache 2010-07-28 11:22:35 -04:00
Neeraj Singh
2d601e4ea3 editing a sentence 2010-07-28 10:56:10 -04:00
Neeraj Singh
5b10e47593 adding comment specifying that cattr_accessor also supports instance_write and instance_rader option 2010-07-28 10:13:11 -04:00
Neeraj Singh
eb902d6c00 clarifying the instance_write option with an example 2010-07-28 10:08:00 -04:00
Neeraj Singh
ff7e17d33e adding some comments to cattr_accessor method 2010-07-28 10:05:10 -04:00
Neeraj Singh
f3b50b11c7 updating description of how class_attribute works 2010-07-28 09:53:38 -04:00
Neeraj Singh
4952a80200 adding test for respond_to cache_key and cleaning up the ENV settings 2010-07-28 21:02:45 +08:00