Commit Graph

2917 Commits

Author SHA1 Message Date
George Millo
6f57e1240e Minor English fixes in docs [ci skip] 2014-11-17 15:31:39 +07:00
Greg Molnar
e950c3e47b add Nokogiri to docs generation guides 2014-11-16 16:38:08 +00:00
Guo Xiang Tan
b7c262b250 [CI SKIP] Missing space. 2014-11-16 23:22:33 +08:00
Jon Atack
d987bdd7fa Simplify and fix grammar
[skip ci]
2014-11-14 21:22:10 +01:00
Guo Xiang Tan
f88a4d3900 [CI SKIP] Corrections to testing guide.
Partially revert c31e638a37.
2014-11-14 16:52:51 +08:00
Sandip Ransing
5e3c5cef85 [ci skip] Remove deprecated testing tasks
This has changed recently and so rake test:all and rake
test:all:db are deprecated.
2014-11-14 11:51:06 +05:30
Sandip Ransing
c31e638a37 [ci skip] Improve upon testing tasks guide
Add missing testing tasks and also improve upon tasks descriptions
2014-11-14 02:52:58 +05:30
Sandip Ransing
d9d84cea53 [ci skip] Capybara added to other testing approaches 2014-11-14 02:07:22 +05:30
Sandip Ransing
062988efd3 [ci skip] Add one more example to routing testing, and highlight association
name keywords
2014-11-13 11:50:56 -08:00
David Heinemeier Hansson
2a31ea5545 Merge pull request #17348 from DavidGeukers/rake_test_all
simplify rake test vs rake test:all
2014-11-12 13:42:17 +03:00
Dave Powers
4223fa70f9 Replace "behaviour" with "behavior"
Update to consistently use American English [ci skip]
2014-11-11 13:06:53 -05:00
David Geukers
3b12abba3c Simplify rake test vs rake test:all
Renames `rake test:all` to `rake test` by changing old `rake test:run` to previous version of `rake test:all`.  Removes old definition of `rake test`. Also renames `rake test:all:db` to `rake test:db` and deprecates `rake test:all` & `rake test:all:db`
2014-11-10 20:33:31 -05:00
Rafael Mendonça França
091652cae8 Merge pull request #16535 from bf4/patch-1
Allow fallback to LegacyKeyGenerator when secret_key_base is not set but secrets.secret_token is
2014-11-10 20:38:46 -02:00
yui-knk
ec13bf0a99 [ci skip] Fix typo in command_line.md 2014-11-09 23:38:56 +09:00
Vijay Dev
981afe42df Merge pull request #17557 from yui-knk/fix/command_line_guide
[ci skip] Fix line break on command line guide
2014-11-08 22:55:50 +05:30
Robin Dupret
f8f02f4f6d Merge pull request #17476 from robin850/job-testing
Add a section about job testing [ci skip]
2014-11-08 12:36:58 +01:00
yui-knk
b38c9eb631 [ci skip] Fix line break on command line guide 2014-11-08 11:22:42 +09:00
Jimmy Petersen
5bdaf31628 Guides: Corrected name for assigns key [ci skip]
- Integration test example is now using 'articles' name
  for both path and assigns key.
2014-11-07 11:30:52 +01:00
yuuji.yaginuma
066faa09e2 [ci skip] modify default host in command line guide 2014-11-07 17:34:15 +09:00
Yves Senn
5dd3c3b2a0 docs, synchronize 4.2. release notes. [ci skip]
/cc @chancancode
2014-11-06 12:16:11 +01:00
Yves Senn
9c195344a8 Merge pull request #17529 from slothbear/patch-1
Remove redundancy [ci skip]
2014-11-06 08:37:46 +01:00
Prathamesh Sonpatki
ae755bc517 Replace Html with HTML [ci skip]
- Everywhere else we using HTML Sanitizer except this place.
2014-11-06 12:25:38 +05:30
Paul Morganthall
cc663f8f6c Remove redundancy
I love this guide! 
and "visually see" is redundant.
remove "visually", then the sentence reads:
> Action Mailer previews provide a way to see how emails look
2014-11-06 00:48:16 -05:00
Arun Agrawal
e81c6efc0e Update bin/rake about [ci skip]
As we are no more displaying frameworks
2014-11-05 13:54:50 +01:00
Carlos Antonio da Silva
5da73d9181 Add skip-turbolinks entry to 4.2 release notes and improve changelog
[ci skip]
2014-11-05 08:36:14 -02:00
Prathamesh Sonpatki
c1116e954c Remove skip-gems from 4-2 release notes
- This option was removed in https://github.com/rails/rails/commit/bf17c8a531bc80.
- [ci skip]
2014-11-05 15:22:48 +05:30
yuuji.yaginuma
d027e2759d [ci skip] fix config.assets.digest default value 2014-11-05 15:21:10 +09:00
eileencodes
4ea3e65c18 [ci skip] Fixup spelling and grammar in 4.2 guides
Capitalize CSS, SQL

Change spelling of favour to favor - updated for consistency,
the rest of the document uses "favor".

Grammar / spelling pass
2014-11-04 21:19:20 -05:00
Prathamesh Sonpatki
00d14936b0 Mention that articles resource should be added by user in getting started guide
[ci skip]
2014-11-05 00:44:09 +05:30
Vijay Dev
9887a2cfe5 Merge branch 'master' of github.com:rails/rails 2014-11-04 13:20:22 +00:00
Gaurav Sharma
40f8ad4fa9 update rails version for earlier releases in edgeguides 2014-11-04 13:12:37 +05:30
Benjamin Fleischer
db5f1a46f2 secret_token is now saved in Rails.application.secrets.secret_token
- `secrets.secret_token` is now used in all places `config.secret_token` was
  - `secrets.secret_token`, when not present in `config/secrets.yml`,
    now falls back to the value of `config.secret_token`
  - when `secrets.secret_token` is set, it over-writes
    `config.secret_token` so they are the same (for backwards-compatibility)
  - Update docs to reference app.secrets in all places
    - Remove references to `config.secret_token`, `config.secret_key_base`
- Warn that missing secret_key_base is deprecated
- Add tests for secret_token, key_generator, and message_verifier
  - the legacy key generator is used with the message verifier when
    secrets.secret_key_base is blank and secret_token is set
  - app.key_generator raises when neither secrets.secret_key_base nor
    secret_token are set
  - app.env_config    raises when neither secrets.secret_key_base nor
    secret_token are set
- Add changelog

Run focused tests via
ruby -w -Itest test/application/configuration_test.rb -n '/secret_|key_/'
2014-11-02 21:21:09 -06:00
Ryan Selk
98626e27c1 Add a section about job testing [ci skip]
* Cover lower level job testing (assertions about the execution of the
  job itself).
* Add a table with the custom assertions provided by Active Job's
  `TestHelper` module.
* Add an example testing job queuing inside a model
2014-11-02 12:59:58 +01:00
Robin Dupret
1d6d0cc245 Tiny documentation styling fixes [ci skip] 2014-11-02 12:32:50 +01:00
Dave Powers
95b0e396cc Add link to API Documentation Guidelines
Link to the "English" section to specify American English be used for the Guides
[ci skip]
2014-11-01 18:39:28 -04:00
Robin Dupret
30c3813cf0 Tiny documentation fixes and styling improvements
[ci skip]
2014-11-01 19:36:24 +01:00
Cakey | Buddy Magsipoc
d6b4f99bf1 Fix break on generated html
fixes this :

![http://i.imgur.com/86scI3a.png](http://i.imgur.com/86scI3a.png))
2014-11-01 12:12:13 +08:00
Rafael Mendonça França
487145f871 Merge pull request #17040 from clyfe/patch-1
Explicit route test class
2014-10-31 18:57:56 -02:00
Robin Dupret
aeb431a6ca Tiny documentation improvements [ci skip] 2014-10-31 19:48:42 +01:00
Abdelkader Boudih
0249c360a3 Merge pull request #17460 from hbriggs/master
Masked authenticity token section, finder options details, misc typos [ci skip]
2014-10-31 17:57:41 +00:00
Hannah Briggs
d38d8d579c Add masked authenticity token section, details on finder options, misc typos [ci skip] 2014-10-31 10:50:37 -07:00
yuuji.yaginuma
a34db58204 [ci skip] fix incorrect key in Active Support Instrumentation guide 2014-10-31 09:39:40 +09:00
Zachary Scott
d20f7b043a Add status code to AS::Instrumentation table, like #17441 [ci skip] 2014-10-30 09:01:18 -07:00
Łukasz Strzałkowski
568c057e80 Add :db_runtime to table [ci skip]
It was missing from table, but is present in sample hash below
2014-10-30 08:59:49 -07:00
Chris Moylan
79e5c0de6d correct GlobalID mixin name in the guides 2014-10-29 16:36:16 -05:00
Hannah Briggs
8185fc734a [ci skip] Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to section 2.8 "Rails DOM Testing" 2014-10-29 13:23:29 -07:00
Robin Tweedie
be318260a3 better example for tokenizer lambda [ci skip]
Splitting on whitespace makes more sense in the context of counting words in an
essay.
2014-10-29 13:13:39 +00:00
Rafael Mendonça França
d80ed79e99 Merge pull request #17039 from zv1n/add_prefix_delimiter
Added ability to configure the queue_name_prefix delimiter to ActiveJob::QueueName.
2014-10-28 19:46:58 -02:00
Godfrey Chan
0cd6c0842d Mention only_path deprecation in release notes [ci skip] 2014-10-28 09:48:01 -07:00
Terry Meacham
11ab04b111 Added queue_name_delimiter attribute.
- Added ActiveJob::Base#queue_name_delimiter to allow for
  developers using ActiveJob to change the delimiter from the default
  ('_') to whatever else they may be using (e.g., '.', '-', ...).

- Updated source guide to include a blurb about the delimiter.
2014-10-26 21:46:05 -05:00