Commit Graph

1094 Commits

Author SHA1 Message Date
Steve Klabnik
4e7c8f8bb8 Remove WIP from Working With JavaScript Guide.
Now that we've fixed the fibs example, this is good to go.
2013-01-13 13:34:36 -05:00
Guillermo Iguaran
34126fa6e3 Merge pull request #8869 from goshakkk/guides-asset-pipeline-tilt
Add asset pipeline guides section on implementing & registering own engines
2013-01-10 11:38:16 -08:00
Yves Senn
d262fab3a1 mention performance test extraction in 4.0 guide 2013-01-10 17:53:41 +01:00
Yves Senn
5ca7ddcb49 remove the rails guide on performance testing 2013-01-10 17:09:07 +01:00
Yves Senn
ce8e3d3072 remove performance tests from the default stack 2013-01-10 17:09:06 +01:00
Gosha Arinich
38efe878c9 add asset pipeline guides section on implementing & registering own engines 2013-01-10 14:09:47 +03:00
Matt Bridges
7342f14c94 adding small mention one single line blocks in contributing to rails
[ci skip]
2013-01-09 10:09:06 -06:00
Diogo Mafra
1d1722b6c4 Correcting the command 'rake rails:update:bin' in the release notes.[ci skip] 2013-01-08 22:56:43 -02: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
Guillermo Iguaran
fa3f51f734 Merge pull request #8802 from claudiob/patch-1
Update guides/source/getting_started.md [ci skip]
2013-01-07 17:08:37 -08:00
Xavier Noria
6cf47c533d new README generated for new apps 2013-01-08 00:50:56 +01:00
Xavier Noria
553b6958dc doc/README_FOR_APP is no longer generated 2013-01-08 00:50:56 +01:00
Xavier Noria
1ce304f816 Merge pull request #8773 from goshakkk/guides-page-titles
Place article name in the beginning of guides page title
2013-01-07 13:54:19 -08:00
Claudio B.
2651810c69 Update guides/source/getting_started.md
Reflect change in 009873a that renamed the script/ folder to bin/
2013-01-07 13:07:23 -08:00
Gosha Arinich
1907409596 more woring improvements to the engines guide
* "also in ... is ..." -> "in .. there is ..."
* use "as well" instead of "also" in the end of the sentence
* "has the ability" -> "can"
2013-01-07 12:27:19 +03:00
Gosha Arinich
a8d4e2788b improve wording of the engines guide
* "very minor" -> "subtle"
* reword successive sentences so that they don't begin with the same
  word ("this")
* "also" is not used in the end of the sentence, use "as well" instead
* "the reason is because" -> "the reason is that"
2013-01-07 12:14:02 +03:00
Gosha Arinich
0acf92184d prefer american spelling of 'behavior' 2013-01-07 11:47:27 +03:00
Jeremy Kemper
009873aec8 Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' 2013-01-06 21:41:36 -07:00
Akira Matsuda
c8e632bd9f Namespace HashWithIndifferentAccess 2013-01-07 07:37:23 +09:00
Xavier Noria
7d365135a3 Merge pull request #8770 from goshakkk/guides-img-fix
Fix img width in guides
2013-01-06 08:14:59 -08:00
Gosha Arinich
7a439d23de delegate to :class rather than 'self.class' 2013-01-06 12:43:30 +03:00
Tim Raymond
09626e2eba The plural of apparatus is apparatuses 2013-01-05 18:56:27 -05:00
Gosha Arinich
732d3507da prefer do-end for multiline block 2013-01-06 02:01:22 +03:00
Gosha Arinich
af660ee717 place article name in the beginning of guides page title 2013-01-06 01:46:30 +03:00
Gosha Arinich
76ab8be613 fix guides' warning bottom padding 2013-01-06 01:18:21 +03:00
Lucas Mazza
d0676ad9cb Update some code examples on the "Working with JavaScript in Rails" guide. 2013-01-05 18:20:41 -02:00
Gosha Arinich
11f74f08b8 wrap terminal prompt marks in a pre tag 2013-01-05 21:21:20 +03:00
Gosha Arinich
5322a3e95e fix img width in guides 2013-01-05 20:16:31 +03:00
Yves Senn
947e1d5e85 deprecate assert_blank and assert_present.
They don't add any benefits over `assert object.blank?`
and `assert object.present?`
2013-01-05 18:04:52 +01:00
Gosha Arinich
25852593df proper article in the getting started guide 2013-01-05 20:04:40 +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
Akira Matsuda
85c13b7d3d beginrescueend has ended 2013-01-05 14:41:32 +09:00
Thomas Drake-Brockman
bd104bf5ca Document new configuration option action_controller.raise_on_unexpected_params. 2013-01-05 10:45:10 +08:00
Ryunosuke SATO
3dc1a36b70 ERB::Util::h is no longer generated in scaffold 2013-01-05 00:23:40 +09:00
Akira Matsuda
c91a7db4cf undecorated_table_name was moved and refactored 2013-01-04 17:21:46 +09:00
Akira Matsuda
257348405a Ruby 1.8 support had gone
instance_variable_names remains for internal use, but it's not that useful for the users anymore
2013-01-04 14:54:58 +09:00
Akira Matsuda
ffaad630e2 get rid of outdated "server with Different Backends" section
* I don't think people are running Rails under mongrel today
* it's better not to sudo gem install
* basically all we need to do is just bundle the server. No need to give its name as a parameter
* I could write ^^^, but I realized that it's not really about "command line"
2013-01-04 14:40:21 +09:00
Akira Matsuda
40c3d80296 update the example of generated postgresql config 2013-01-04 14:24:46 +09:00
Matthew Stopa
dc14b893e5 Readd deleted section of caching rails guide 2013-01-03 18:21:20 -07:00
Akira Matsuda
a802fa3588 A Relation is not a collection of records. So let's not use the term "record" 2013-01-04 09:26:32 +09:00
Akira Matsuda
02e422b64f we don't have public/index.html anymore 2013-01-04 06:23:16 +09:00
Akira Matsuda
2161434d16 update the scaffold generator outputs 2013-01-04 06:23:16 +09:00
Akira Matsuda
8572f32d58 .all does not return an Array 2013-01-04 06:23:16 +09:00
Guillermo Iguaran
cb2bd4aa61 Merge pull request #8705 from amparo-luna/change_update_attributes_to_update
Rename update_attributes method to update
2013-01-03 09:09:59 -08:00
Amparo Luna + Guillermo Iguaran
03ac174f2d Change guides to use update instead of update_attributes 2013-01-03 12:04:25 -05:00
Akira Matsuda
eed9f2539e let's get started with PATCH method rather than PUT 2013-01-03 20:45:45 +09:00
Matthew Stopa
4b5e424441 Remove action/page caching from Rails guides 2013-01-02 22:43:58 -07: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
Franck Verrot
25c12de4ff Link to the right fork of country_select. 2013-01-02 16:12:19 +01:00