Commit Graph

2847 Commits

Author SHA1 Message Date
Gaurav Sharma c6a06e8844 [ci skip] removing ruby-i18n.org/wiki link that is not available and using “gems” instead of plugins 2014-10-09 17:07:58 +05:30
Nicolas Cavigneaux 094a7cece0 Warning about middleware not auto-reloading
Add a section in the guide to explain that Rails can't auto-reload
a middleware on code change.

Fix #16806

[ci skip]
2014-10-08 09:35:15 +02:00
Dave Powers 8e79abbe63 Fix grammar 2014-10-07 16:32:54 -04:00
Prathamesh Sonpatki 391f5dc176 Fix typo in Active Model guide
- instrospection -> introspection.
- [ci skip]
2014-10-05 18:28:42 +05:30
Zachary Scott b56d3adf9b [ci skip] Merge ActiveModel::SecurePassword guide from @aditya-kapoor
Merge branch 'active-model-secure-password-guide' of https://github.com/aditya-kapoor/rails into aditya-kapoor-active-model-secure-password-guide

Conflicts:
	guides/source/active_model_basics.md
2014-10-04 17:21:36 -07:00
Nick Meehan d882348ad2 Edits to ActiveModel guide [ci skip]
- Some grammatical errors and rewording of sentences throughout document

- Renaming headers to be more human readable, and if following paragraphs do not include module
  names, adding those in

- In ActiveModel::AttributeMethods
  * formatting expected output correctly, changing from `#` to `# =>`

- In ActiveModel::Dirty
  * changing expected output of person.first_name_was from "First Name" to nil
  * removing 'active_model' requirement at top of code snippet

- In ActiveModel::Validations
  * originally Person.new(token: "2b1f325") raises an argument error (1 for 0), so setting of
    attribute occurs on the line after object instantiation

- In ActiveModel::Naming
  * closing code snippet tag at end of section so ActiveModel::Model is a separate section

- In ActiveModel::Model
  * fixing spelling mistake of attr_accessor

- In ActiveModel::Serialization
  * adding edit to description of how from_json and from_xml works under serialization

- In ActiveModel::Lint::Tests
  * capitalizing person for class name
2014-10-04 17:08:32 -07:00
Mauro George 8935e8996e Add Active Model to guides [ci skip] 2014-10-04 17:08:14 -07:00
Zachary Scott a4d8b62ed1 Clarify possible validations you can use to avoid a NULL boolean value
in the database. Closes #16304 [ci skip]
2014-10-03 17:37:49 -07:00
Jake Worth d7175887b4 Fix typo 2014-10-03 14:28:41 -05:00
Xavier Noria de50a91daa minor fixes in the configuring guide [ci skip] 2014-10-03 09:24:12 +02:00
Xavier Noria 78a14189d9 Revert "Fix style for rescue responses doc [ci skip]"
Reason: There is a wrong newline, a typo, and the change
to singular is not good.

This reverts commit d76380cf1c.
2014-10-03 09:20:48 +02:00
Abdelkader Boudih c9e510c1a8 Merge pull request #17153 from yuki24/fix-doc-format-for-rescue-responses
[Railsguides] Fix style for rescue responses doc [ci skip]
2014-10-03 05:40:32 +01:00
Abdelkader Boudih d93854ffc9 Merge pull request #17151 from y-yagi/patch-1
[ci skip] add `test:jobs` task to testing guide
2014-10-03 05:37:13 +01:00
Yuki Nishijima d76380cf1c Fix style for rescue responses doc [ci skip]
* Change 'Any ***s that are...' to 'Any *** that is...'
 * Fix style for default rescue_responses setting

This is a follow-up commit to:

 * https://github.com/rails/rails/pull/17076
 * 89b8836f24
2014-10-02 19:01:33 -07:00
yuuji.yaginuma 25895427c3 [ci skip] add `test:jobs` task to testing guide 2014-10-03 08:50:28 +09:00
mo khan bc6421c9ef Add documentation on Active Job.
This adds documentation for the Active Job API. It includes
documentation on how to configure the queue_adapter, and how to create
new jobs. It adds links to the various other sections of the Active Job
documentation.
2014-10-02 10:57:30 -06:00
Abdelkader Boudih cd50a6dc15 Merge pull request #17124 from yuktikhurana/fix_render_file_guide
In render file, by default the current layout is rendered always [ci skip]
2014-10-01 07:49:40 +01:00
yuktikhurana 67a605d3d4 In render file, by default the current layout is rendered always 2014-10-01 11:03:49 +05:30
Su Zhang (張甦) 71db7fdf50 Update single table inheritance link anchor
The current one is old-of-date and doesn't make the browser navigation to the correct heading.
2014-09-30 11:01:15 -04:00
David Elliott 21ba9b11f9 technical correction in guides under 'Generating an engine'
`bin/rails` would not exist outside of a rails project
2014-09-28 09:20:32 -07:00
Vijay Dev 3a9b3ba082 Merge branch 'master' of github.com:rails/docrails 2014-09-28 06:11:30 +00:00
Robin Dupret d63005447b Tiny follow-up to #16999 [ci skip]
* Fix a typo
* Remove references to Rails version
* Remove an extra whitespace
2014-09-27 16:22:15 +02:00
Prathamesh Sonpatki 04cced06fa Fix typo in upgrading guide
- [ci skip]
- behvaior -> behavior
2014-09-27 17:12:57 +05:30
Yuki Nishijima 89b8836f24 Add documentation about `config.action_dispatch.rescue_responses`
[ci skip]
2014-09-26 19:45:05 -07:00
Byron Bischoff 5571fe8d40 [ci skip] Remove reference to config.threadsafe! in guides/configuriing.md 2014-09-25 13:43:27 -07:00
Rafael Mendonça França 80990e2a0b rails-html-sanitizer is now the default
Also add to upgrading guide a notice about the deprecated sanitizers
2014-09-25 16:45:45 -03:00
Godfrey Chan b5571b3ccf Revert "Revert "Merge pull request #16888 from jejacks0n/render_template""
This reverts commit 585e75696b.
2014-09-26 01:42:18 +09:00
Jake Worth 76eba917bc Fix typo 2014-09-24 15:38:51 -05:00
Guo Xiang Tan c7bce61a22 [CI SKIP] Improve force push note. 2014-09-23 22:38:13 +08:00
Prathamesh Sonpatki 6aa11fbb1a Added note about updating pull requests by force push
- Added note about force pushing same branch to update a existing pull
  request instead of opening new one in contributing guide.
- [ci skip]
2014-09-23 18:15:30 +09:00
Godfrey Chan 585e75696b Revert "Merge pull request #16888 from jejacks0n/render_template"
This reverts commit 07635a74b5, reversing
changes made to 1b5f61a025.

Reason: it's not ready 💣, see https://github.com/rails/rails/pull/16888#issuecomment-56400816
2014-09-23 02:06:08 +09:00
Godfrey Chan b04ac976d9 CHANGELOG for 07635a7 2014-09-23 00:48:06 +09:00
Abdelkader Boudih 1b5f61a025 Merge pull request #16999 from cristianbica/activejob-adapters-rdoc
[ci skip] Added RDoc for each Active Job adapter
2014-09-22 15:40:09 +01:00
Cristian Bica c9a4c2a5ce Added RDoc for each Active Job adapter 2014-09-22 17:33:02 +03:00
Zachary Scott 5263f5e847 Wrap it up! :trollface: [ci skip] 2014-09-22 16:18:19 +09:00
Zachary Scott 8060959d8a Wrap Adequate Record release notes at 80 chars [ci skip] 2014-09-22 16:17:37 +09:00
Godfrey Chan 3e27a03fe4 Merge pull request #16984 from chancancode/fix_16578
Document that the default for `rails server -b` has changed
2014-09-22 01:08:19 +09:00
Godfrey Chan 5919cce0de Document that the default for `rails server -b` has changed
Fixes #16578
2014-09-22 01:04:42 +09:00
Yves Senn fac25eb7b0 Merge pull request #16979 from square/standardize-call-style
Standardize on `Rails.application` [ci skip]
2014-09-21 11:45:54 +02:00
yuuji.yaginuma 4f5d60f4f2 [ci skip] modify the description of production log level default 2014-09-21 07:41:32 +09:00
Tamir Duberstein 994d3ebe9b Standardize on `Rails.application` [ci skip]
This seems to be the style settled on in most of the templates.
2014-09-19 10:42:58 -07:00
Abdelkader Boudih 402ac43bb5 Merge pull request #16930 from todd/upgrade_guide
Added Responders docs, made Web Console docs more consistent. [ci skip]
2014-09-17 21:03:51 +01:00
abhishek 00e30b8f1c [guides] 4.2 release notes: added technical details for Adequate Record 2014-09-16 23:53:02 +05:30
Todd Bealmear a8571131b9 Added Responders docs, made Web Console docs more consistent. [ci skip] 2014-09-16 07:40:26 -07:00
Rafael Mendonça França 0da9923926 Make explicit 4.1 is being maintained by a special situation
[ci skip]
2014-09-16 10:28:36 -03:00
Juanito Fatas 49f8356f33 [ci skip] Fix code snippet display in Action Mailer Basics guide. 2014-09-16 15:32:38 +08:00
Akshay Vishnoi 4a634e5f90 [ci skip] Fix typo `equals to` --> `equal to` 2014-09-16 01:15:00 +05:30
Matthew Draper 62955c77bf As of Unicode 6.3, Mongolian Vowel Separator is not whitespace
Ruby 2.2 knows this, and no longer matches it with [[:space:]], so it's
not a good candidate for testing String#squish.
2014-09-15 21:41:25 +09:30
Niko Kiuru 5ec944ed83 Singular credit_card controller name changed to plural 2014-09-14 20:40:43 +03:00
Thiago Pinto be83a1726b form_helpers: demonstrating there is also a collection_select method in form builder 2014-09-13 19:32:23 -03:00