Cheah Chu Yeow
d70e1a9d2b
Fix slightly awkward English in Action Caching section of Caching With Rails guide.
...
In particular, removed "pages that require to restrict access somehow" and shortened "Action Caching works like Page Caching except for the fact that the incoming web request does go from the webserver to the Rails stack and Action Pack so that before filters can be run on it before the cache is served".
2012-04-05 17:30:15 +08:00
Martin Eisenhardt
1f4f4d4ccb
Optimistic locking: lock_version needed type information.
2012-04-05 11:13:09 +03:00
Alexey Vakhov
0693bc2c2a
Add AC record identifier example with not-persisted object
2012-04-05 12:07:30 +06:00
ara.t.howard
697991a201
carefully and quickly merge url_for options
2012-04-04 16:28:19 -06:00
Sandip Ransing
c91d07f57c
Small improvements added to getting started
2012-04-05 02:41:21 +05:30
Vijay Dev
cc3e2c5432
Revert "update ActionPack README links"
...
This reverts commit aeb228c5be5e8a1e7d79ccaef3833f8f35b00046.
Reason: The links are meant to be consumed in the api and not on GitHub.
2012-04-05 02:41:21 +05:30
Hrvoje Šimić
8e00a6cf73
update ActionPack README links
2012-04-05 02:41:21 +05:30
Jonathan Mazin
ddb9875513
Update activemodel rdoc links
2012-04-04 15:19:27 -04:00
Santiago Pastorino
a9398a7da4
Merge pull request #5716 from jurriaan/tr-gsub-cleanup
...
Updated/changed unneeded tr/gsubs
2012-04-04 10:43:24 -07:00
Santiago Pastorino
c6bd8a9d3a
Merge pull request #5188 from jlxw/patch-1
...
logger.silence is deprecated
2012-04-04 10:38:55 -07:00
Ethan Mick
316cb1f7ed
Updated migrations.textile to change :integer on line 807 to :boolean, as it was earlier in the example. :flag is a boolean, not an integer. (defaults to false)
2012-04-04 11:07:33 -04:00
Santiago Pastorino
f7a76aab5b
Merge pull request #5733 from oscardelben/patch-5
...
No need to extend ActiveSupport::Extend here
2012-04-04 07:53:13 -07:00
Hendy Tanata
bbe31cc523
Improve config.assets.initialize_on_precompile guide.
2012-04-04 22:33:09 +08:00
Oscar Del Ben
db86b2a059
No need to extend ActiveSupport::Extend here
2012-04-04 15:28:13 +03:00
Hrvoje Šimić
88f0c205aa
Merge branch 'master' of github.com:lifo/docrails
2012-04-04 12:09:31 +02:00
Hrvoje Šimić
f7a1c64ac3
removed deprecated methods and middlewares
2012-04-04 12:09:10 +02:00
Vijay Dev
30ff259877
Revert "update ActionPack README links"
...
This reverts commit aeb228c5be5e8a1e7d79ccaef3833f8f35b00046.
Reason: The links are meant to be consumed in the api and not on GitHub.
2012-04-04 15:23:15 +05:30
Hrvoje Šimić
d4fa512def
added example, removed blank lines
2012-04-04 11:31:09 +02:00
Hrvoje Šimić
aeb228c5be
update ActionPack README links
2012-04-04 11:16:13 +02:00
Vijay Dev
02b9c22df8
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
guides/source/engines.textile
2012-04-04 12:42:22 +05:30
Vijay Dev
f89f74896b
Revert "rails 4 will support ruby version 1.9.4 or higher"
...
This reverts commit 0a35acb8b89603a3135852742f206af82ed61b57.
Reason: Let's cross the bridge when we reach there.
2012-04-04 12:19:29 +05:30
Alexey Vakhov
e39b9b0468
Fix AC responder example
2012-04-04 12:40:39 +06:00
Xavier Noria
e25eeed5b8
the file update checker now also detects removed files
2012-04-03 16:18:56 -07:00
Tim Pope
a49944844f
DATABASE_URL allows omission of database.yml
2012-04-03 15:57:01 -07:00
Aaron Patterson
3b378a7840
use File.binread to pull in the schema cache
2012-04-03 15:57:01 -07:00
Sandip Ransing
ecb4a649c2
typo mistake fixed
...
correction to server stop statement added
2012-04-04 02:38:37 +05:30
Sandip Ransing
0a35acb8b8
rails 4 will support ruby version 1.9.4 or higher
2012-04-04 02:14:07 +05:30
Benedikt Deicke
402576b044
Adds test to check that circular preloading does not modify Model.unscoped (as described in #5667 )
2012-04-03 21:13:24 +02:00
Fernando Briano
428149c8f3
Fixed small typo
2012-04-03 15:42:18 -03:00
José Valim
3352e3b610
Merge pull request #5723 from tiegz/minor_fixes
...
minor elsif/else typo fix
2012-04-03 11:28:14 -07:00
Tieg Zaharia
f181d7e3ef
minor elsif/else typo fix
2012-04-03 13:45:19 -04:00
Mikhail Dieterle
1827bc9524
also <text> replaced by <plain>
2012-04-04 00:46:43 +08:00
Benedikt Deicke
68677ffb82
Removes caching from ActiveRecord::Core::ClassMethods#relation
...
The #relation method gets called in four places and the return value was instantly cloned in three of them. The only place that did not clone was ActiveRecord::Scoping::Default::ClassMethods#unscoped. This introduced a bug described in #5667 and should really clone the relation, too. This means all four places would clone the relation, so it doesn't make a lot of sense caching it in the first place.
The four places with calls to relations are:
activerecord/lib/active_record/scoping/default.rb:110:in `block in build_default_scope'"
activerecord/lib/active_record/scoping/default.rb:42:in `unscoped'"
activerecord/lib/active_record/scoping/named.rb:38:in `scoped'"
activerecord/lib/active_record/scoping/named.rb:52:in `scope_attributes'"
2012-04-03 17:00:37 +02:00
Mikhail Dieterle
d586b07f9e
Changed engines guide not to use a css tag. <plain> will do just fine.
...
bb23d6fb00
2012-04-03 22:34:46 +08:00
Jurriaan Pruis
2d8396fc9f
Updated/changed useless tr/gsubs
2012-04-03 15:16:09 +02:00
Xavier Noria
0cc6c5fec2
Merge pull request #5713 from bolshakov/master
...
Fix typo in "dasherize" description
2012-04-03 03:28:01 -07:00
Artyom Bolshakov
5f62e88b3b
Fix typo
2012-04-03 14:20:32 +04:00
Alexey Vakhov
e527347554
Remove non-obligatory params in AC respond_to examples
2012-04-03 12:43:13 +06:00
Waseem Ahmad
a17874ee56
Remove unnecessary articles.
2012-04-03 05:41:07 +05:30
Aaron Patterson
a3dc8ba16f
Merge pull request #5708 from romanvbabenko/refactor/add_gem_filters
...
Unnecessary uniqueness & force mapping has been removed at BacktraceClea...
2012-04-02 16:18:25 -07:00
Roman V. Babenko
d9e4dd1d66
Unnecessary uniqueness & force mapping has been removed at BacktraceCleaner#add_gem_filters
2012-04-03 01:58:40 +03:00
Wojciech Wnętrzak
f58ff61473
removed unnecessary block when using fetch
2012-04-02 23:43:47 +02:00
Piotr Sarnacki
87b30fb2e6
Merge pull request #5695 from lest/patch-1
...
add type option to atom feed entry builder
2012-04-02 13:25:57 -07:00
Hrvoje Šimić
7b1abe84ae
Merge branch 'master' of github.com:lifo/docrails
2012-04-02 20:31:54 +02:00
Hrvoje Šimić
4b1ed1d29f
update purpose of middleware
2012-04-02 20:31:38 +02:00
Vijay Dev
0b67751d62
fix formatting in engines guide; also removed a couple of non-existent images [ci skip]
2012-04-02 23:41:22 +05:30
Vijay Dev
bb23d6fb00
Revert "parse <css> block as code (used in engines guide) "
...
This reverts commit c46374a9d949004761d71570a4d703838c694e74.
Reason: Changed engines guide not to use a css tag. <plain> will do
just fine.
2012-04-02 23:34:47 +05:30
Mikhail Dieterle
e94437e3c6
wrong link to getting started guide
2012-04-03 01:11:44 +08:00
Hrvoje Šimić
b95aa05314
update to current rack middleware stack
2012-04-02 18:31:20 +02:00
Mikhail Dieterle
c46374a9d9
parse <css> block as code (used in engines guide)
2012-04-02 22:16:48 +08:00