Commit Graph

44 Commits

Author SHA1 Message Date
Vipul A M
0db928a63a fix some typos 2013-03-25 00:20:25 +05:30
Yves Senn
d3688e02ca remove AR auto-explain (config.auto_explain_threshold_in_seconds)
We discussed that the auto explain feature is rarely used.
This PR removes only the automatic explain. You can still display
the explain output for any given relation using `ActiveRecord::Relation#explain`.

As a side-effect this should also fix the connection problem during
asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie`
forced a connection.
2013-02-24 20:01:04 +01:00
robertomiranda
a83183c721 Remove BestStandardsSupport references 2013-02-01 16:37:35 -05:00
Xavier Noria
0b5d3f3273 Merge remote-tracking branch 'docrails/master'
Conflicts:
	actionpack/lib/action_view/helpers/form_options_helper.rb
	guides/code/getting_started/app/controllers/comments_controller.rb
2013-01-26 17:41:56 +01:00
virusman
921305b0c8 Remove old asset tags API from docs, reflecting changes from #7900 2013-01-23 00:24:01 +04:00
Xavier Noria
f667f0f7ee copy-edits 7e6e4f2 [ci skip]
Capitalization in the title of the section, enumerates the environments
in the usual order, adds a paragraph, and tries to use less "you"s.
2013-01-21 21:14:50 +01:00
Yves Senn
7e6e4f2547 document how to create custom rails environments 2013-01-21 20:38:04 +01:00
Thomas Drake-Brockman
46752092ef Replaced documentation for config.action_controller.raise_on_unpermitted_parameters with documentation for config.action_controller.action_on_unpermitted_params. 2013-01-20 00:23:55 +08:00
Yves Senn
ce8e3d3072 remove performance tests from the default stack 2013-01-10 17:09:06 +01:00
Vijay Dev
f049016cd3 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/getting_started.md
2013-01-09 01:04:15 +05:30
Gosha Arinich
0acf92184d prefer american spelling of 'behavior' 2013-01-07 11:47:27 +03:00
Rafael Mendonça França
a135f3797d Rename raise_on_unexpected_params to raise_on_unpermitted_parameters on the guides 2013-01-05 07:59:26 -02:00
Rafael Mendonça França
cd1757ebec Fix typo 2013-01-05 06:23:34 -02:00
Thomas Drake-Brockman
bd104bf5ca Document new configuration option action_controller.raise_on_unexpected_params. 2013-01-05 10:45:10 +08:00
Andre Arko
75dcdbc84e Restore original remote_ip algorithm.
Proxy servers add X-Forwarded-For headers, resulting in a list of IPs. We
remove trusted IP values, and then take the last given value, assuming that
it is the most likely to be the correct, unfaked value. See [1] for a very
thorough discussion of why that is the best option we have at the moment.

[1]: http://blog.gingerlime.com/2012/rails-ip-spoofing-vulnerabilities-and-protection/

Fixes #7979
2013-01-02 15:26:27 -08:00
Yves Senn
6c8a48e6c6 replace AS::BufferedLogger doc mentions with AS::Logger 2012-12-25 20:39:23 +01:00
Jeremy Kemper
f9da785d0b Move background jobs to the 'jobs' branch until fully baked. Not shipping with Rails 4.0. 2012-12-21 16:29:47 -08:00
Rafael Mendonça França
9cce1ea2fd Allow users to choose the timestamp format in the cache key
This can be done using the class attribute cache_timestamp_format

Conflicts:
	railties/guides/source/configuring.textile
2012-12-10 17:48:26 -03:00
Steve Klabnik
ed78770b1a Remove references to Rails versions.
There's no reason for guides to reference old behaviors. They should
be current as of the versions of Rails that they ship with, and including
older information just clutters thing.

I discussed this change with @fxn and he agrees.
2012-12-07 23:20:35 -08:00
Katie Oldaker
7c05ea23a0 Fixed grammar in a lot of guide prologues. 2012-12-07 12:50:09 -05:00
Vijay Dev
0181c2da97 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/active_record_validations.md
2012-12-01 23:00:47 +05:30
Steve Klabnik
d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik
6dcae8ae9c Add periods to the bullet points in guides.
Talked with @fxn about this. Bullet points should have periods at the ends.
2012-11-29 05:14:08 -08:00
Rafael Mendonça França
ccecab3ba9 Remove observers and sweepers
They was extracted from a plugin.

See https://github.com/rails/rails-observers

[Rafael Mendonça França + Steve Klabnik]
2012-11-28 22:46:49 -02:00
Vijay Dev
7b70eeed43 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	actionpack/lib/action_dispatch/routing/redirection.rb
2012-11-17 01:50:49 +05:30
burningTyger
8dabfbebdb use em-dashes instead of two minuses in guides 2012-11-10 23:00:00 +01:00
Santiago Pastorino
4faa041845 Rename secret_token_key to secret_key_base 2012-11-03 14:57:54 -02:00
Santiago Pastorino
60609bb50d Sign cookies using key deriver 2012-11-03 14:57:53 -02:00
Juanjo Bazán
0d7dcdcbf4 3.1 and up, in configuring guide. 2012-10-29 11:27:35 +01:00
Rafael Mendonça França
d7f8b2a068 Add more CHANGELOG entries from #7927
Also remove references for RAILS_ASSET_ID from the guides

[ci skip]
2012-10-17 22:18:08 -03:00
Rafael Mendonça França
e6278348b7 Add CHANGELOG entry for #7927
Removed the asset_path configuration from the guides and added an entry
in the upgrading_ruby_on_rails guide

[ci skip]
2012-10-17 21:04:43 -03:00
Jeremy Kemper
c8fe0d58bc Backpedal from class-oriented config.queue. Set an actual queue instance. 2012-10-12 22:27:41 -07:00
Francesco Rodriguez
2154215940 add AC::Parameters#permit_all_parameters config option [ci skip] 2012-10-05 17:26:16 -05:00
Francesco Rodriguez
4b3377ca5b remove old AR Mass Assignment config options [ci skip] 2012-10-05 17:20:58 -05:00
Francesco Rodriguez
8b7f353b80 delete removed page cache options [ci skip] 2012-10-05 16:57:50 -05:00
Guillermo Iguaran
66ed71fd6f Remove highly uncommon config.assets.manifest option for moving the manifest path.
This option is now unsupported in sprockets-rails.
2012-09-19 18:02:37 -05:00
gregolsen
da26dfbefd Date.beginning_of_week thread local and beginning_of_week application config option added (default is Monday) 2012-09-18 17:18:19 +03:00
Prem Sichanugrist
721afdcc4b Fix remaining formatting problems in the guide 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
9873dd800b Convert all the links into Markdown format 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
31ef4cf656 Convert all inline codes to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
c89c163a0e Convert inline code tags to Markdown 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
872b7af337 Convert heading tags and heading section 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
7bc1ca3515 Convert code blocks into GFM style 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
5137d03cc5 Rename the rest of the guides to Markdown 2012-09-17 15:54:22 -04:00