Commit Graph

17847 Commits

Author SHA1 Message Date
Xavier Noria
285690143e debugging guide: revises the section on debugging RJS 2010-08-17 13:19:00 +02:00
Luke Brown
95ecc08a30 Added an example and explaination for using an optional path scope for the locale 2010-08-17 09:48:12 +01:00
Josiah Ivey
9a665aa6d2 Debugging Guide: Highlight using config over ActionView::Base 2010-08-16 21:32:08 -05:00
Josiah Ivey
2a55edc725 Debugging Guide: Improve grammar for the RJS section 2010-08-16 05:25:40 -05:00
Santiago Pastorino
2ad3d96cb0 recommended is the right word here 2010-08-15 08:44:14 -03:00
Xavier Noria
6f929ef801 Merge remote branch 'rails/master' 2010-08-15 02:53:26 +02:00
Xavier Noria
3ba61ecb7f Revert "Add example label to activesupport/configurable"
This reverts commit f480b2cea6.

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 693f770afe.

Reason: to be able to revert f480b2cea6
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
Santiago Pastorino
9a7e7e5fdb Add missing model 2010-08-14 18:49:04 -03:00
Santiago Pastorino
59a0700b56 Both tests are using the same model, move the model to another file and add the missing require 2010-08-14 18:48:06 -03:00
Santiago Pastorino
ad4272922d object/try should be required after abstract_unit to have AS in the load path 2010-08-14 18:33:38 -03:00
Xavier Noria
0d5a060710 Revert "Add example label to activesupport/configurable"
This reverts commit f480b2cea6.

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 693f770afe.

Reason: to be able to revert f480b2cea6
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
Xavier Noria
b7e7e56eb7 Merge remote branch 'docrails/master' 2010-08-14 13:22:41 +02:00
Subba Rao Pasupuleti
e516378410 Adding missing required statement
[#5056 state:resolved]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-14 13:17:32 +02:00
Santiago Pastorino
9dc88aba47 Fixes some ActionMailer tests 2010-08-14 13:17:32 +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
36a84a4f15 Makes AR use AMo to_key implementation
[#5249]
2010-08-14 13:17:31 +02:00
Santiago Pastorino
48c7ad17b0 This method is actually not used, it's implemented on the concrete adapters
[#5331 state:committed]
2010-08-14 13:17:31 +02:00
Aaron Patterson
22b9bbc828 converting to a symbol is not necessary 2010-08-14 13:17:31 +02:00
Prem Sichanugrist
6a14eee918 Removing most of the symbol to proc usage in Active Record
This will hopefully make Active Record run a bit more faster.
2010-08-14 13:17:31 +02:00
Aaron Patterson
cfbfb86730 removing a lolinject 2010-08-14 13:17:31 +02:00
Santiago Pastorino
4c2bbe9a1a Moves local_request? to require.local?
[#5361 state:committed]
2010-08-14 13:17:31 +02:00
Aaron Patterson
e8ffe7d6b6 avoid direct use of arel constants 2010-08-14 13:17:30 +02:00
Aaron Patterson
c8d5ee3e9e removing references to arel constants 2010-08-14 13:17:30 +02:00
Aaron Patterson
d6c84845b3 avoiding symbol to proc again 2010-08-14 13:17:30 +02:00
Aaron Patterson
6c50ad0234 do not use arel constants directly 2010-08-14 13:17:30 +02:00
Aaron Patterson
5baf75b650 symbol to proc is slow, we should avoid it 2010-08-14 13:17:30 +02:00
Jeremy Kemper
17a6dfb745 It's snowing! 2010-08-14 13:17:30 +02:00
Subba Rao Pasupuleti
f8f437191f no callbacks should be created for empty array [#5289 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-14 13:17:30 +02:00
Subba Rao Pasupuleti
b61ff257e9 tidy up validations length code [#5297 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-14 13:17:29 +02:00
Greg Campbell
1577eafe77 Add missing ActiveModel::Validations require
[#5311 state: resolved]

ActiveModel::Validations uses Hash#except, but does not require it from
ActiveSupport.  (This wasn't showing up in the tests, because it was
required in the helper, and was also required in
ActiveModel::Serialization).

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-14 13:17:29 +02:00
Neeraj Singh
8fdecaaef2 Ensure we can nest include calls [#5285 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-14 13:17:29 +02:00
Subba Rao Pasupuleti
b7fdc937fa Adding missing required statement
[#5056 state:resolved]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-14 06:27:15 -03:00
Santiago Pastorino
0a22576970 Fixes some ActionMailer tests 2010-08-14 05:58:34 -03:00