Commit Graph

26693 Commits

Author SHA1 Message Date
Jon Leighton
7b1eeea5bc Should clear the primary keys cache also 2011-12-16 13:52:07 +00:00
Jon Leighton
7f20bb995a Don't store defaults in the schema cache 2011-12-16 13:52:07 +00:00
Jon Leighton
dee94d8ab5 Defaults hash can go on the model 2011-12-16 13:52:07 +00:00
Jon Leighton
0b08ff7d92 Cache columns at the model level.
Allows two models to use the same table but have different primary keys.
2011-12-16 13:52:07 +00:00
José Valim
4fe76f4f27 Wait a full second so we have time for changes to propagate 2011-12-16 13:22:06 +01:00
José Valim
dbe28f3cb0 Fix failing asset test. 2011-12-16 11:43:29 +01:00
José Valim
6481bc5f49 Update CHANGELOGs and guides. 2011-12-16 10:45:59 +01:00
José Valim
654df86b7b Show detailed exceptions no longer returns true if the request is local in production. 2011-12-16 10:45:59 +01:00
José Valim
192e55c38e Do not raise an exception if an invalid route was generated automatically. 2011-12-16 10:45:59 +01:00
José Valim
5359262695 ShowExceptions should understand X-Cascade responses from exceptions app. 2011-12-16 10:45:59 +01:00
José Valim
7dd1c751f9 Improve the specs on exceptions app. 2011-12-16 10:45:59 +01:00
José Valim
02127e6406 Allow a custom exceptions app to set. 2011-12-16 10:45:59 +01:00
José Valim
deef8dd682 Extract the rendering of public exceptions pages into a Rack app. 2011-12-16 10:45:59 +01:00
José Valim
d142572567 Get rid of the close checks since we cannot reliably close the session anyway. 2011-12-16 10:45:59 +01:00
Piotr Sarnacki
8015f906d5 Merge pull request #4002 from arunagw/warning_removed_grouped_expression
Warning removed "warning: (...) interpreted as grouped expression"
2011-12-16 00:45:20 -08:00
Arun Agrawal
aa39149b2f Warning removed "warning: (...) interpreted as grouped expression" 2011-12-16 10:30:20 +05:30
Xavier Noria
dbfc6b8b3a removes Ruby constraint in RedCloth dependency 2011-12-15 15:22:14 -08:00
Xavier Noria
5e0dec5e10 it's -> its 2011-12-15 12:57:33 -08:00
Jon Leighton
2b22564c4e Move DefaultScope and NamedScope under Scoping 2011-12-15 20:45:42 +00:00
Jon Leighton
17ad71e514 Let AttributeMethods do its own including etc 2011-12-15 20:45:42 +00:00
Jon Leighton
ceb33f8493 Split out most of the AR::Base code into separate modules 🍰 2011-12-15 20:45:37 +00:00
José Valim
8854bf29a3 Set up delegations also for to_a and arel branches. 2011-12-15 20:59:05 +01:00
José Valim
b17bc58c76 Move delegation reponsibilities of Relation to a module. Also precompile method missing calls for rofscale. 2011-12-15 20:47:26 +01:00
José Valim
1e8b751813 Make with_scope public so we stop using send 💣 2011-12-15 20:47:26 +01:00
Xavier Noria
22bd21dc0f Merge pull request #3998 from rafacv/master
Small typo in Rails::Engine documentation
2011-12-15 11:09:30 -08:00
Rafael Valverde
4baf145375 Fixed small typo in the Rails::Engine documentation. 2011-12-15 17:03:19 -02:00
José Valim
1af2a1d0f5 Improve delegate list to avoid method missing. 2011-12-15 20:01:56 +01:00
José Valim
26e7400cc5 Fix diagnostics page for routing errors. 2011-12-15 19:43:49 +01:00
José Valim
283a087634 Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema. 2011-12-15 18:48:10 +01:00
José Valim
de947c621d There isn't a column_hash. It was being invoked by method missing. 2011-12-15 17:09:48 +01:00
Jon Leighton
8dba32f125 Fix #3987. 2011-12-15 13:23:28 +00:00
José Valim
d7e714adac Merge pull request #3994 from whilefalse/sass_cache_gitignore
Added .sass-cache/ directory to the genrated gitignore in engines.
2011-12-15 04:56:10 -08:00
Jon Leighton
0ddb9d6409 Merge pull request #3991 from akaspick/attrfix
Allow nested attributes in associations to update values in it's owner o...
2011-12-15 04:50:13 -08:00
Steven Anderson
54f60c1063 Added .sass-cache/ directory to the genrated gitignore in engines. 2011-12-15 12:38:52 +00:00
José Valim
ad87752ad6 Merge pull request #3990 from ugisozols/master
Remove autoload for non-existent file
2011-12-14 21:10:47 -08:00
Uģis Ozols
8d827325d0 Remove autoload for non-existent file. 2011-12-15 06:52:42 +02:00
Aaron Patterson
e9382474fd seed file was already tested for existence. ಠ_ಠ 2011-12-14 19:09:31 -08:00
Andrew Kaspick
774ff18c09 Allow nested attributes in associations to update values in it's owner object. Fixes a regression from 3.0.x 2011-12-14 20:13:03 -06:00
Aaron Patterson
b6105b0b59 updating arel and journey dependencies 2011-12-14 13:26:49 -08:00
Xavier Noria
800252ca71 let sdoc say which version of rdoc we depend on 2011-12-14 22:23:17 +01:00
José Valim
2a10b914ad Merge pull request #3988 from lest/fix-date-select
fix separator insertion in date_select helper
2011-12-14 12:37:22 -08:00
Sergey Nartimov
caa1c19787 fix separator insertion in date_select helper 2011-12-14 23:20:23 +03:00
Jon Leighton
889e8bee82 Fix #3672 again (dependent: delete_all perf) 2011-12-14 19:20:19 +00:00
Jon Leighton
8a37970312 Remove that there copy/pasted code 💣 2011-12-14 17:34:35 +00:00
Jon Leighton
909b337da8 Don't try to autosave nested assocs. Fixes #2961. 2011-12-14 17:28:59 +00:00
Jon Leighton
18bf30982b Cache column defaults on model. ~30% on Model.new due to avoiding repeatedly fetching connection. 2011-12-14 16:14:47 +00:00
Jon Leighton
7b0edbb9f2 Avoid super; speeds up Model.new by about 12% 2011-12-14 16:14:47 +00:00
José Valim
e3a4eb4b40 Close the response body on cascade pass, closes #3975. 2011-12-14 17:03:35 +01:00
Jon Leighton
19bea9f1bd Stop the build asploding on 1.8.7 2011-12-14 15:31:12 +00:00
Jeremy Kemper
384a60a16c Merge pull request #3981 from choonkeat/master
Fix url_for options[:subdomain] to allow objects as values
2011-12-14 07:07:05 -08:00