Commit Graph

33737 Commits

Author SHA1 Message Date
David Graham
f38e752bdf Implement replace method so key? works correctly. 2012-10-26 11:36:35 -06:00
Jon Leighton
6ac33f9e4b remove unused config option 2012-10-26 16:55:55 +01:00
Carlos Antonio da Silva
d200cb905e Remove ActiveRecord::Model entry from 4.0 Release Notes [ci skip] 2012-10-26 13:37:04 -02:00
Carlos Antonio da Silva
7c7a225fbe Remove ActiveRecord::Model consant from AS::TestCase
Fixing the build.
2012-10-26 13:34:00 -02:00
Jeremy Kemper
00791bfb64 Remove REE GC stats since master is 1.9.3 2012-10-26 08:24:27 -07:00
Jon Leighton
9e4c41c903 Remove ActiveRecord::Model
In the end I think the pain of implementing this seamlessly was not
worth the gain provided.

The intention was that it would allow plain ruby objects that might not
live in your main application to be subclassed and have persistence
mixed in. But I've decided that the benefit of doing that is not worth
the amount of complexity that the implementation introduced.
2012-10-26 15:51:02 +01:00
Jaime Iniesta
b1e5c1660b Fix a pair of typos on Active Record Querying guide 2012-10-26 14:56:37 +02:00
Jeremy Kemper
a27b5178d9 Add missing require for minitest assertions. Breaks calling 'app' in console otherwise. See 94248ffe1e6f815b8ffab4eb752b60c1e4459d25. 2012-10-25 20:30:11 -07:00
Carlos Antonio da Silva
91c5af413b Merge pull request #8031 from gbchaosmaster/redcarpet-2.2.2
Update redcarpet dependency
2012-10-25 19:39:59 -07:00
Vinny Diehl
cadff7b73d Update redcarpet dependency
"~> 2.2.2" from "~> 2.1.1". Also converted all hash rockets in the
Gemfile to the 1.9 syntax.
2012-10-25 21:50:55 -04:00
Francesco Rodriguez
9ac095fef5 minor edits and remove mixed titles in AM::Validations docs [ci skip] 2012-10-25 20:41:35 -05:00
Francesco Rodriguez
65be1a0e7a encourage use of Ruby 1.9 syntax [ci skip] 2012-10-25 20:06:16 -05:00
Rafael Mendonça França
ca3b429815 Merge pull request #8030 from calebthompson/fix-ternary
Fix gratuitous use of ternary operator
2012-10-25 14:43:15 -07:00
Caleb Thompson
3d3fd39caa Fix gratuitous use of ternary operator 2012-10-25 17:00:14 -04:00
Aaron Patterson
59a53f4525 remain backwards compatible, exception can be constructed with no arguments 2012-10-25 13:51:30 -07:00
Aaron Patterson
cde326bcef give access to the original exception raised in case of a parse error 2012-10-25 11:34:37 -07:00
Aaron Patterson
facd3e8710 do not lose backtrace information from the raised exception 2012-10-25 11:25:29 -07:00
Aaron Patterson
6033e8aeb0 fix uninitialized ivar warnings 2012-10-25 10:49:13 -07:00
Aaron Patterson
f5ae64dc28 Merge pull request #8013 from noahhendrix/master
Pass key to block in cache.fetch on miss
2012-10-25 09:07:16 -07:00
Henrik N
cc5dfccdda AJAX -> Ajax in layouts_and_rendering guide.
Fixed in the JS guide in 8c38172ba59e16d8e523ac4f1c5ae29b6851d3ee
2012-10-25 13:46:11 +02:00
Xavier Noria
4fee5dfed2 Revert "Improve grammar a bit"
This reverts commit 507e522e26b4073455b2337bcf1670e52bba5429.
2012-10-24 22:52:59 +02:00
Xavier Noria
fe470411c6 Revert "Explain where the acronym AJAX stands for & replace "JavaScript writer" with "JavaScript developer""
This reverts commit 1332cf53af981d0a7a6f801edd9632eb5c118a3f.
2012-10-24 22:52:43 +02:00
Xavier Noria
c8dec40c5e Revert "Improve "request response" term typing & fix a minor typo"
This reverts commit a6d383c8b2afb253c009ad67d31aae3aa8dcc457.
2012-10-24 22:52:18 +02:00
Xavier Noria
7cbce85054 Revert "fix a typo"
This reverts commit 6d927fb4da7a0a17d62109b7ef8798a8e75082a7.
2012-10-24 22:51:58 +02:00
Xavier Noria
0f45570b96 Revert "Consistent headlines & ToC"
This reverts commit 506257a173bb5cbb083ccae8d1b4ed82a456006a.
2012-10-24 22:51:20 +02:00
Guillermo Iguaran
6250873d96 With the Asset Pipeline the :cache and :concat options aren't used anymore 2012-10-24 10:58:04 -05:00
Guillermo Iguaran
53568e05a3 Update Upgrading Guide with removal of :cache and :concat options 2012-10-24 10:51:11 -05:00
Guillermo Iguaran
276e7b0a1d Update upgrading notes: users should stop using :concat and :cache options in asset tags 2012-10-24 10:47:07 -05:00
Andrii Dovgaliuk
211accced6 fix a typo in comments to ActiveRecord::Associations::Association.stale_state 2012-10-24 09:47:19 -04:00
Rafael Mendonça França
15821005c1 Merge pull request #8021 from ugisozols/master
Fix incorrect markdown by removing extra space. [ci skip]
2012-10-24 06:26:24 -07:00
Uģis Ozols
1a6b082808 Fix incorrect markdown by removing extra space. 2012-10-24 16:15:48 +03:00
Geoffrey Roguelon
1e593db13a Adding a missing parenthesis in the doc of String#parameterize. 2012-10-24 15:08:58 +02:00
Noah Hendrix
96f5ceaafb make the cache test more @tenderlove(ing) and not depend on internal implentation 2012-10-23 18:42:37 -07:00
AvnerCohen
9edd4e18c4 Migration of docs to 1.9 hash syntax 2012-10-23 22:39:49 +02:00
Xavier Noria
9d66c40189 JS guide: applies guides casing guidelines for titles [ci skip] 2012-10-23 22:25:21 +02:00
Xavier Noria
c3d4fc40a5 registers the JS guide in the CHANGELOG [ci skip] 2012-10-23 22:23:52 +02:00
Xavier Noria
8c38172ba5 JS guide: AJAX -> Ajax
We discussed this on Twitter, seems to be the best option.
2012-10-23 22:21:02 +02:00
Xavier Noria
69e9715f79 renames the JS guide file name to match the new title [ci skip] 2012-10-23 22:14:14 +02:00
Xavier Noria
c145f35dac adds Rails to the title of the JS guide [ci skip] 2012-10-23 22:14:04 +02:00
AvnerCohen
3b89052014 Updated activerecord test comments to new hash syntax 2012-10-23 15:59:42 +02:00
AvnerCohen
30d2627cff Another batch of hash syntax changes to comment, this time around, I tried to keep 'output' messages untouched. 2012-10-23 13:02:34 +02:00
Rafael Mendonça França
a5744f0e04 Merge pull request #8014 from insside/task-test-typos
changed test case name
2012-10-23 03:25:17 -07:00
Tima Maslyuchenko
ff29dd8309 changed test case name 2012-10-23 12:43:11 +03:00
Noah Hendrix
81b7112565 pass the key to the block in cache.fetch on misses 2012-10-23 00:04:42 -07:00
Luis M
6004fd336a Fixed typo on ActiveRecord nested_attributes. 2012-10-23 01:05:00 -05:00
Aaron Patterson
40496430d5 frozen state should be restored after txn is aborted 2012-10-22 16:48:09 -07:00
Francesco Rodriguez
2ef4d5ed5c fix output messages - docs [ci skip] 2012-10-22 14:27:55 -05:00
Rafael Mendonça França
78adc4529a Add tests to make sure that the I18n taken message can be overrided in the
activerecord scope.

Related with 5341b84936d93ec90e6252af437a3871101c115a
2012-10-22 16:53:46 -02:00
AvnerCohen
77eb1fb22d convert comments to 1.9 hash syntax 2012-10-22 19:34:24 +02:00
Hendy Tanata
01e38d8c89 Fix code example in AR::AttributeMethods::BeforeTypeCast. 2012-10-22 22:49:01 +08:00