Commit Graph

3047 Commits

Author SHA1 Message Date
Andrey Nering
d5d9e0af3f Fix typo on guide name [ci skip] 2015-01-27 13:16:46 -02:00
Yves Senn
9373ca2808 remove trailing whitespace. [ci skip] 2015-01-25 12:16:32 +01:00
Bryan Bibat
eed34e2251 Add tip for running binstubs on Windows [ci skip]
The default command prompt under Windows doesn't run binstubs correctly
while PowerShell needs to find the location of the Ruby interpreter for
it to work properly. Passing the binstubs manually to the interpreter
solves this problem.
2015-01-25 14:18:07 +08:00
yui-knk
419d259f63 [ci skip] Fix what is pushed to nesting about eval family 2015-01-24 22:50:08 +09:00
Xavier Noria
4e02dcc252 constants guide: make assumption explicit in an example [closes #18465] [ci skip] 2015-01-23 11:21:42 +01:00
yuuji.yaginuma
fce9c4e5e1 fix regexp for validate an integer in guides [ci skip] 2015-01-22 22:56:41 +09:00
Diogo Benicá
8b18449c27 Add :formats to options list of render documentation. 2015-01-21 23:52:44 -02:00
Rafael Mendonça França
14599a5758 Merge pull request #18322 from morgoth/add-error-codes
Add ActiveModel::Errors#codes
2015-01-21 14:28:54 -02:00
Rafael Mendonça França
01c1667b97 Fix test case class in the testing guide [ci skip] 2015-01-21 13:12:24 -02:00
Wojciech Wnętrzak
3d78c8f59e Add missing options to Error Message Interpolation guide [CI skip] 2015-01-21 09:45:18 +01:00
Wojciech Wnętrzak
cb74473db6 Add ActiveModel::Errors#details
To be able to return type of validator, one can now call `details`
on Errors instance:

```ruby
class User < ActiveRecord::Base
  validates :name, presence: true
end
```

```ruby
user = User.new; user.valid?; user.errors.details
=> {name: [{error: :blank}]}
```
2015-01-20 22:33:42 +01:00
Santiago Pastorino
8a87ebfd8f Merge pull request #18576 from yui-knk/fix/autoload4
[ci skip] Move a introduction of `Module.nesting`
2015-01-18 12:01:54 -02:00
yuuji.yaginuma
8f2264cb52 remove reference to Logger core extensions from guide [ci skip] 2015-01-18 15:29:30 +09:00
yui-knk
75b382301d [ci skip] Move a introduction of Module.nesting
Move a introduction of `Module.nesting` to the beginning of sentence.
This change will help reader to try to dump `nesting`.
2015-01-18 11:43:03 +09:00
yui-knk
51f97d02cc [ci skip] fix positions of parentheses 2015-01-18 11:17:39 +09:00
Zachary Scott
4183fb0853 Merge pull request #18568 from vipulnsward/removed-deprecated-methods-from-docs
Removed documentation of deprecated removed methods
2015-01-17 09:03:32 -08:00
Vipul A M
e0badb4a06 Removed documentation of deprecated removed methods [ci skip] 2015-01-17 22:22:37 +05:30
yui-knk
03d049cca2 [ci skip] Change to the passive voice 2015-01-17 23:52:53 +09:00
Yves Senn
b7dc096c99 Merge pull request #18493 from twoller/master
Consistent anchor text in nav links, new image [ci skip]
2015-01-17 14:06:33 +01:00
Oge Nnadi
3686513de7 Fixed extraneous quoting 2015-01-16 21:56:34 -08:00
Oge Nnadi
c0be81cfad Typo fix 2015-01-16 21:22:29 -08:00
Jared Fine
780be39955 Underscore typo [ci skip] 2015-01-16 15:08:52 -05:00
Toby Woller
3447e76536 Use consistent anchor text throughout the guide.
Change all of anchor text in the nav links to `Back` and `Edit`
Use `Edit | Back` on pages that use both links to conform to what
scaffolding generates.

Use consistent anchor text throughout the guide.

Change all of anchor text in the nav links to `Back` and `Edit`
Use `Edit | Back` on pages that use both links to conform to what
scaffolding generates.
2015-01-15 12:24:11 -08:00
Andrey Nering
bf5f038491 Adding tip about jQuery UJS [ci skip]
Reference #18533
2015-01-15 16:22:52 -02:00
Vijay Dev
3f96b6973b Merge branch 'master' of github.com:rails/docrails 2015-01-15 07:28:21 +00:00
Prathamesh Sonpatki
bd13ff68ef Changed "in GitHub" to "on GitHub" [ci skip]
- Followup of https://github.com/rails/rails/pull/18503.
2015-01-14 16:37:36 +05:30
Xavier Noria
7ba24831d7 Merge pull request #18503 from vipulnsward/guides-in-on
Changed `IN` to `ON` in markdown renderer condition
2015-01-14 11:35:34 +01:00
Vipul A M
5cfaf5a46e - Changed IN to ON in markdown renderer condition
- Changed `IN` to `ON` in all note sentences in guides.
2015-01-14 11:52:13 +05:30
Vipul A M
34dc028e75 Fixed spacing issues on code comments in ActiveJob Basics guide.
Before: http://take.ms/z39h2
After: http://take.ms/Mo0G3
2015-01-14 11:47:24 +05:30
yuuji.yaginuma
fe9f8fb56a fix link in autoloading guide [ci skip] 2015-01-14 13:22:51 +09:00
Derek Reeve
b5c1bbbee0 Fix form_for guide binding a form to an object.
The HTML generated using
    url: { action: :create}
will not generate the form action "/articles/create", it should generate
the form action "/articles" for a new object.
2015-01-13 10:19:59 -08:00
Abdelkader Boudih
3f14d6a727 Merge pull request #18490 from andreynering/security-guides-remove-resource
Guides: Removing reference to blog that is not updated anymore [ci skip]
2015-01-13 18:09:36 +00:00
Andrey Nering
9c021884ed Guides: Removing reference to blog that is not updated anymore [ci skip] 2015-01-13 15:54:45 -02:00
Rafael Mendonça França
233029e90c Merge pull request #18471 from ahmad-alkheat/master
Added the SQL equivalent of the find_by method. [ci skip]
2015-01-13 13:20:08 -02:00
Claudio B.
19b4b0dff1 Merge pull request #18480 from karpah/patch-1
Update asset pipeline guide
2015-01-13 00:11:20 -08:00
Rebecca Skinner
da1b830253 Digesting is now enabled by default in development 2015-01-13 14:34:10 +08:00
Santosh Wadghule
f5fced2bb9 Change a to an for HTML word [ci skip] 2015-01-13 11:20:34 +05:30
Ahmad Al-kheat
edbc9468d5 Updated active_record_querying.md
Added the SQL equivalent of the find_by method

Update active_record_querying.md

Update active_record_querying.md
2015-01-12 18:19:48 -05:00
Xavier Noria
970fe27b02 Merge pull request #18460 from mechanicles/a-to-an-for-xml
Change 'a' to 'an' for 'XML' word [ci skip]
2015-01-12 08:29:43 +01:00
Jade McGough
1cef759e1e minor grammatical fix in documentation 2015-01-12 00:38:10 -05:00
Santosh Wadghule
83dd559643 Change 'a' to 'an' for 'XML' word [ci skip] 2015-01-12 10:07:45 +05:30
Jose Luis Duran
4d4f2df36e Re-add section in SQL Caching
This section was accidentally removed in 4b5e424441149cf0f61a8182f4a92999577ce59a, and partially re-added in dc14b893e5904acb37ac327478f3880f33094b7a.

[ci skip]
2015-01-11 17:17:21 -02:00
Cristian Bica
de40b87e61 GlobalID::Identification has been mixed into AR not AM 2015-01-08 11:09:41 +02:00
claudiob
e56ab77693 Fix typo "you can be disable"
Closes https://github.com/rails/rails/issues/18372

[ci skip]
2015-01-06 14:04:47 -08:00
Sammy Larbi
f0466b619b Add log_level options to configuration guide 2015-01-06 08:52:00 -06:00
Xavier Noria
ed21e18166 reflects changes in 34cd7e2 in the index [ci skip] 2015-01-05 14:37:52 +01:00
Gordon Chan
73a45f5ccd [guides] Added newer find_by syntax example in 4.2 release notes for Adequate Record [skip ci] 2015-01-05 11:53:54 +13:00
Rafael Mendonça França
93559da482 Remove debugger support
bebugger doesn't work with Ruby 2.2 so we don't need to support it
anymore
2015-01-04 15:54:22 -03:00
Max Katz
52a7873863 Add missing information regarding callbacks 2015-01-04 00:18:49 -07:00
Kir Shatrov
ef7274be87 Better example of teardown method in test guide
rails/rails#18305, thanks for @dhh suggestion
2015-01-03 23:45:50 +01:00