Jaime Iniesta
5430f5bd06
lifecycle should be two words, life cycle
2010-08-26 14:23:58 +02:00
Xavier Noria
cd0267cd33
adds missing require for #parameterize
2010-08-26 01:56:10 +02:00
Jakub Suder
4f945e97e5
better callstack reporting in deprecation messages
...
now the reported line is the first line in the stack
that's outside Rails, which is the one that actually
caused the problem in the first place
[#5231 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-25 07:23:50 -03:00
David Heinemeier Hansson
21b1f29720
Master is now targeting 3.1.0.beta
2010-08-23 21:44:57 -05:00
Santiago Pastorino
bb75c33754
Config is deprecated on 1.8.8 and 1.9.3 use RbConfig
2010-08-23 23:10:36 -03:00
Aaron Patterson
ecbdec115b
making variable names a little more clear
2010-08-23 18:48:28 -07:00
Aaron Patterson
cdef4450e5
removing unused code
2010-08-22 17:15:56 -07:00
Xavier Noria
5914875e77
now for real, the suite loads everything and these went unpatched
2010-08-19 02:57:10 +02:00
Xavier Noria
eab4860e9b
avoids a ton o warnings activesupport/lib/active_support/dependencies.rb:239: warning: loading in progress, circular require considered harmful ... activesupport/lib/active_support/core_ext/hash/indifferent_access.rb while running the suite in Ruby 1.9.2
2010-08-19 02:46:42 +02:00
wycats
c6db3486c3
1.8 block variable shadowing strikes again
2010-08-17 16:51:35 -07:00
wycats
dbe08026e1
Sadly, this segv's in 1.8 :(
2010-08-17 16:51:35 -07:00
Matthew Mongeau
dd55830bb2
to_sentence should return a duplicate
2010-08-17 13:52:37 -07:00
Xavier Noria
137e4e759a
Merge remote branch 'docrails/master'
2010-08-17 13:28:33 +02:00
Peter Wagenet
ad53b68457
Class Attribute setter returns set value
...
Signed-off-by: wycats <wycats@gmail.com>
2010-08-16 18:36:12 -07:00
Xavier Noria
fb6b805620
code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them
2010-08-17 03:32:11 +02:00
Santiago Pastorino
2f9f0829c6
Object#returning has gone, it's already deprecated on 3-0-stable
2010-08-15 12:08:17 -03:00
Santiago Pastorino
2ad3d96cb0
recommended is the right word here
2010-08-15 08:44:14 -03:00
Santiago Pastorino
f939fb5e31
Makes use of class << self instead of def self.
2010-08-15 08:41:39 -03:00
Xavier Noria
3ba61ecb7f
Revert "Add example label to activesupport/configurable"
...
This reverts commit f480b2cea69247239f6fc2ad171b231595cc08c6.
Reason: API guidelines discourage this, see http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#example-code
2010-08-15 02:22:38 +02:00
Xavier Noria
dd18840b79
Revert "Add example label to active_support/configurable"
...
This reverts commit 693f770afe0e14fc1b4658ef51910d993e67dd07.
Reason: to be able to revert f480b2cea69247239f6fc2ad171b231595cc08c6
2010-08-15 02:22:38 +02:00
Josep M. Bach
9f9a02af86
Whitespace and example identation
2010-08-15 02:22:38 +02:00
Josep M. Bach
e8ef58a697
Add example label to active_support/configurable
2010-08-15 02:22:38 +02:00
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
Xavier Noria
0d5a060710
Revert "Add example label to activesupport/configurable"
...
This reverts commit f480b2cea69247239f6fc2ad171b231595cc08c6.
Reason: API guidelines discourage this, see http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#example-code
2010-08-14 18:35:01 +02:00
Xavier Noria
f725ae3fef
Revert "Add example label to active_support/configurable"
...
This reverts commit 693f770afe0e14fc1b4658ef51910d993e67dd07.
Reason: to be able to revert f480b2cea69247239f6fc2ad171b231595cc08c6
2010-08-14 18:34:32 +02:00
Josep M. Bach
68e1b72f7a
Whitespace and example identation
2010-08-14 17:52:52 +02:00
Josep M. Bach
693f770afe
Add example label to active_support/configurable
2010-08-14 17:19:04 +02:00
Josep M. Bach
a83fcc1134
Merge branch 'master' of github.com:lifo/docrails
2010-08-14 17:15:15 +02:00
Josep M. Bach
f480b2cea6
Add example label to activesupport/configurable
2010-08-14 17:15:03 +02:00
Xavier Noria
d6fd0f7fa7
reviews commit dcc9d38
2010-08-14 17:08:14 +02:00
Josep M. Bach
25145d6f5f
Documented active_support/configurable
2010-08-14 17:02:39 +02:00
Josep M. Bach
b5175566af
Documentation just before Concern module
2010-08-14 16:52:05 +02:00
Josep M. Bach
dcc9d38b8b
Documented active_support/concern dependency handling
2010-08-14 16:28:30 +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