Commit Graph

21313 Commits

Author SHA1 Message Date
Ben Orenstein
f305c60816 Clarify comment by removing french reference ('a la'). Should improve readability for non-native english speakers. 2011-03-05 11:56:31 +01:00
Ben Orenstein
ac4c5e9722 Example descriptions and their examples were flipped. Fix. 2011-03-05 11:56:31 +01:00
Ben Orenstein
8f526b30f4 Warn people that these methods are deprecated. 2011-03-05 11:56:31 +01:00
Ben Orenstein
4c27ad0c23 Correct example that did not do what it claimed. Rework explanation. 2011-03-05 11:56:30 +01:00
Ilya Zayats
feec2250bb added information about TEST_DIR env variable 2011-03-05 11:56:30 +01:00
JudeArasu
34f5628a07 commas to set off expressions that interrupt sentence flow 2011-03-05 06:19:17 +05:30
JudeArasu
3463247da5 typo changes 2011-03-05 06:10:35 +05:30
JudeArasu
a48f46d4fc typo changes 2011-03-05 06:08:21 +05:30
Xavier Noria
3b10b8a201 implements ActiveRecord::Base.connection_config to be able to check the configuration of the current connection at runtime 2011-03-05 01:35:02 +01:00
Santiago Pastorino
28f1c21b50 Fix CI 2011-03-04 21:38:38 -02:00
Jon Leighton
8987cda2bb When preloading has_and_belongs_to_many associations, we should only instantiate one AR object per actual record in the database. (Even when IM is off.) 2011-03-04 15:16:07 -08:00
Jon Leighton
af27262ec3 Fix a couple of tests in join_model_test.rb which were failing when the identity map is turned off 2011-03-04 14:49:19 -08:00
Santiago Pastorino
056f05adcd Make CI test with and without IM 2011-03-04 19:03:47 -02:00
Diego Carrion
1f47061b48 reverted tests deleted by 080345baca1076a9788d, refactored implementations should not invalidate the validations
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-04 18:07:48 -02:00
Diego Carrion
7872cc992b refactored Time#<=> and DateTime#<=> by removing unnecessary calls without losing performance
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-04 16:50:24 -02:00
Alexander Uvarov
0db915efd1 Add an option to FormBuilder to omit hidden field with id
[#4551 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-04 16:38:08 -02:00
José Valim
f00a398456 log and readme should respect --quiet 2011-03-04 13:05:27 +01:00
R.T. Lechow
c8dae23a2a Railties typos. 2011-03-04 01:01:50 -05:00
R.T. Lechow
12325cf970 Action Pack typos. 2011-03-04 01:01:48 -05:00
R.T. Lechow
238e6f0c6e Active Record typos. 2011-03-04 01:01:45 -05:00
R.T. Lechow
80e3beb24b Active Support typos. 2011-03-04 01:01:42 -05:00
R.T. Lechow
103c297ab3 Active Resource typos. 2011-03-04 01:01:39 -05:00
R.T. Lechow
fbed63aef0 Active Model typos. 2011-03-04 01:01:36 -05:00
Jonathon D. Jones
fcade9f4d2 Merge remote branch 'origin/master' 2011-03-03 18:11:01 -05:00
Jonathon D. Jones
108561f1cb Adds link to Object.blank? from Object.present? 2011-03-03 18:10:33 -05:00
tashian
f44e0e8271 Properly escaped a + in the dynamic segments TIP 2011-03-03 15:04:39 -08:00
mjy
3b7cf23417 fixes a missmatched column in example 2011-03-03 13:28:26 -05:00
JudeArasu
b4b7171d60 Spelling mistake 2011-03-03 23:20:28 +05:30
Dalibor Nasevic
80c0b00ba6 Correct spelling for Base64 in action_mailer 2011-03-03 01:03:25 +01:00
Aaron Patterson
1db4969dc9 only compute path.to_s once 2011-03-02 15:17:29 -08:00
Aaron Patterson
dc89e29f49 remove to_s implementation so that inspect is helpful 2011-03-02 15:17:13 -08:00
Aaron Patterson
b247c8d71a * LocalCache strategy is now a real middleware class, not an anonymous class
posing for pictures.
2011-03-02 14:05:06 -08:00
Dalibor Nasevic
b7cf1f4ccf No need of instance variable
[#6502 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-02 18:01:26 -02:00
Aaron Patterson
272ede9b9a require deprecation so that we can deprecate methods! 2011-03-02 10:42:43 -08:00
Aaron Patterson
72405efe64 anonymous classes have blank names on ruby 1.8 2011-03-02 10:23:04 -08:00
Aaron Patterson
1f2e7214aa make sure string keys are always looked up from the class cache 2011-03-02 10:11:28 -08:00
Aaron Patterson
9198372421 Ruby 1.8: Y U NO FUN? 2011-03-02 09:43:27 -08:00
Aaron Patterson
dd41387f34 use newer class cache api 2011-03-02 09:35:10 -08:00
Aaron Patterson
69e348013b adding deprecation noticies to deprecated class cache methods 2011-03-02 09:31:40 -08:00
Aaron Patterson
66245441d4 adding backwards compat for class cache references. <3<3 2011-03-02 09:18:05 -08:00
Cheah Chu Yeow
2ee5555744 Fix Action caching bug where an action that has a non-cacheable response always renders a nil response body. It now correctly renders the response body.
Note that only GET and HTTP 200 responses can be cached.

[#6480 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-02 13:11:07 -02:00
Dalibor Nasevic
e4cf28f3a0 Fixed typos in asset_host_test
[#6501 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-02 12:48:33 -02:00
Aaron Patterson
f345e2380c yo dawg, directly use the class cache rather than the cache of the cache 2011-03-01 17:43:45 -08:00
Aaron Patterson
7b6bfe84f3 refactor Reference to a ClassCache object, fix lazy lookup in Middleware so that anonymous classes are supported 2011-03-01 17:20:35 -08:00
Aaron Patterson
50ed1a25a4 initialize ivars 2011-03-01 17:20:35 -08:00
Alexander Uvarov
24faddd60c Move ActiveModel::AttributeMethods#attribute_methods_generated? to ActiveRecord, so it's flexible now
[#6428 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-01 20:22:45 +01:00
Aaron Patterson
fd26afc93b Enumerable gives us include?, so remove include? 2011-03-01 10:21:44 -08:00
Aaron Patterson
648fd60ecf prefer composition over inheritance with AD::MS 2011-03-01 10:14:09 -08:00
Aaron Patterson
e477fc1147 fixing test case test on 1.9.3dev 2011-03-01 10:14:09 -08:00
Sam Elliott
9cf3b1f671 Remove warnings about redefined test methods
[#6490 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-01 12:39:04 -02:00