aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23208 from vipulnsward/testing-pass-2Jon Moss2016-01-251-14/+14
|\ | | | | Pass 2 over testing guide
| * Pass 2 over testing guideVipul A M2016-01-231-14/+14
| | | | | | | | | | | | | | | | | | | | | | - Grammar fixes - Wordsmitting - Fixed wrong statement about association usage in fixtures - Changed association name from 'one' to 'first' instead - More consistent usage of we/our - Mentions assert_select is below, not already covered in Integration test. [ci skip]
* | Merge pull request #23210 from sachin21/change_permissionYves Senn2016-01-251-0/+0
|\ \ | | | | | | Change permission to readonly [ci skip]
| * | Change permission to readonlySatoshi Ohmori2016-01-231-0/+0
| |/ | | | | | | | | | | changed from 755 to 644. I executed `chmod -x guides/assets/javascripts/responsive-tables.js`. [ci skip]
* / Update the exception of format constraint in routesFernando Seror2016-01-231-0/+2
|/ | | | | Per https://github.com/rails/rails/issues/20264 [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-01-221-1/+1
|\
| * [ci skip] An internal link is an relative pathyui-knk2015-12-231-1/+1
| |
* | Rails 5.0+ rake commands implemented in Rails Framework itself. We prefer to ↵Gaurav Sharma2016-01-221-43/+62
| | | | | | | | use bin/rails instead of rake [ci skip]
* | Merge pull request #23177 from vipulnsward/testing-pass-1Jon Moss2016-01-221-7/+7
|\ \ | | | | | | First pass over parts of Testing guide
| * | First pass over parts of Testing guideVipul A M2016-01-221-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Grammar improvements - Consistent usage of you or we in sentences - Tests can have zero or more assertions. Its not mandatory to have one. - Example for assert_send [ci skip]
* | | [ci skip] fix #23157Shakib Hossain2016-01-221-0/+5
|/ /
* | insert newlines into code samplesAlexander2016-01-201-3/+5
| | | | | | | | [ci skip]
* | Merge pull request #23125 from Gaurav2728/update_puma_as_webserverRafael França2016-01-194-17/+14
|\ \ | | | | | | [ci skip] update guide for Puma web server instead of Webrick
| * | [ci skip] update guide for Puma web server instead of WebrickGaurav Sharma2016-01-204-17/+14
| | | | | | | | | Rails 5.0 default server puma web server. following commit - https://github.com/rails/rails/commit/ae48ea69
* | | - Changed from bin/rake to bin/rails at more application places.Vipul A M2016-01-203-5/+5
|/ / | | | | | | | | | | | | - Only ones left are from the upgrading guide, and command line guide explicit section about rake Follow up of https://github.com/rails/rails/pull/23119 [ci skip]
* | use bin/rails default instead of rake commands [ci skip]Gaurav Sharma2016-01-196-37/+37
| | | | | | I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
* | - Remove dead links and take users to just the home page insteadVipul A M2016-01-192-14/+1
| | | | | | | | | | - Add new logo for guides header [ci skip]
* | Merge pull request #23117 from vipulnsward/22297-ar-exception-raiseAbdelkader Boudih2016-01-191-1/+1
|\ \ | | | | | | Mention that halting chain does not re-raise `ActiveRecord::RecordIn…
| * | Mention that halting chain does not re-raise `ActiveRecord::RecordInvalid` ↵Vipul A M2016-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | exception as well, similar to `ActiveRecord::Rollback` Fixes #22297 [ci skip]
* | | Make text about render :html option clearer to state, text will get escaped ↵Vipul A M2016-01-191-1/+1
|/ / | | | | | | | | | | | | if not marked as safe by using html_safe Fixes #22648 [ci skip]
* | Fix discrepancies in associations guide [ci skip]Prathamesh Sonpatki2016-01-191-6/+6
| | | | | | | | - Followup of https://github.com/rails/rails/commit/71ff088a09d429657877ddfb58985d30df63fc8a
* | `ApplicationRecord` instead of `ActiveRecord::Base` in Association Guides ↵amitkumarsuroliya2016-01-191-2/+2
| | | | | | | | [ci skip]
* | Merge pull request #23099 from vipulnsward/change_start_at_end_atKasper Timm Hansen2016-01-181-10/+10
|\ \ | | | | | | Changed options for find_each and variants to have options start/finish
| * | Changed options for find_each and variants to have options start/finish ↵Vipul A M2016-01-181-10/+10
| | | | | | | | | | | | | | | | | | instead of start_at/end_at based on comments at https://github.com/rails/rails/pull/12257#issuecomment-74688344
* | | Association Guide replaces Order as example with Author-Book Example [ci skip]amitkumarsuroliya2016-01-183-230/+230
| | | | | | | | | fixes #21500
* | | Merge pull request #22705 from ↵Jon Moss2016-01-181-2/+28
|\ \ \ | | | | | | | | | | | | | | | | RochesterinNYC/add-order-explanation-to-first-last-guides Add clarification about `first` and `last` behavior when using `order` [ci skip]
| * | | Add clarification about `first` and `last` behavior when using `order` [ci skip]James Wen2015-12-201-2/+28
| | |/ | |/|
* | | Merge pull request #22394 from j-dexx/update_association_basics_guideJon Moss2016-01-181-3/+13
|\ \ \ | | | | | | | | Updated the guides for having a distinct has_many through at the data…
| * | | Updated the guides for having a distinct has_many through at the database levelJames Doyley2016-01-181-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current example add_index :person_articles, :article, unique: true Does not work, the `:article` column does not exist as it will be a join table (based on the prior example) so should use :article_id The documentation seems to suggest that it will allow an article to be added only once to a person via the join table, what actually occurs is that it only allows the article to be added to one person, at which point it should be a `belongs_to` association. Also changed the new example to use readings based on the prior example
* | | | Explain how HStore columns can be queried [ci skip]Prathamesh Sonpatki2016-01-181-0/+4
| |_|/ |/| | | | | | | | - Fixes #22876.
* | | [ci skip] fix typo in docsankit19102016-01-141-1/+1
| | |
* | | Add a note on ActionController guide about 404Mauro George2016-01-111-2/+6
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #22983 from bronson/update-mysql-in-guidesSantiago Pastorino2016-01-102-2/+1
|\ \ \ | | | | | | | | remove mentions of legacy mysql adapter from guides
| * | | remove legacy mysql from guides to match #22715Scott Bronson2016-01-092-2/+1
| | | |
* | | | Merge pull request #21995 from tak1n/masterJon Moss2016-01-101-8/+35
|\ \ \ \ | | | | | | | | | | Add Example for using config_for
| * | | | fix doc for rails custom configuration through config_for [skip ci]Benny Klotz2015-12-031-2/+2
| | | | |
| * | | | Updated existing custom configuration for rails 5 where `config.x`Benny Klotz2015-10-191-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace is not needed anymore. Added custom configuration through config_for which parses a yml file in config folder.
* | | | | rake log:clear task updated refs[#22544]Pramod2016-01-091-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | - Avoided truncating all files if no ENV['LOGS'] specified - Updated task to accept LOGS=all for truncating all files from log/ i.e. log/*log - If no LOGS specified will truncates standard environment log files i.e. 'development,test,production' - CHANGELOG & guide update added - bin/setup test cases fixed
* | | | Merge pull request #22275 from mastahyeti/per-form-csrfRafael França2016-01-061-0/+2
|\ \ \ \ | | | | | | | | | | Per-form CSRF tokens
| * | | | add option for per-form CSRF tokensBen Toews2016-01-041-0/+2
| | | | |
* | | | | Merge pull request #22922 from vhf/add_fpb_backClaudio B2016-01-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Update doc/resource link removed by #21211
| * | | | | [ci skip] Update doc/resource link removed by #21211Victor Felder2016-01-051-0/+1
| |/ / / /
* / / / / Add job suffix to sample's job file nameManu2016-01-051-2/+2
|/ / / /
* | | | Update the maintenance policy for the next release.Rafael Mendonça França2016-01-041-3/+3
| | | |
* | | | Remove duplicate entry for ActiveRecord::Relation#cache_key from Rails 5 ↵Prathamesh Sonpatki2016-01-021-3/+0
| | | | | | | | | | | | | | | | release notes [ci skip]
* | | | Fix typo: test -> textSean Collins2015-12-301-1/+1
| | | |
* | | | [ci skip] Update rails/all.rb reference.Kasper Timm Hansen2015-12-301-9/+10
| | | | | | | | | | | | | | | | It didn't mention Action Cable's engine.
* | | | Merge pull request #22844 from prathamesh-sonpatki/issue_22836Yves Senn2015-12-301-2/+2
|\ \ \ \ | | | | | | | | | | Fix documentation for configuring default_charset [ci skip]
| * | | | Fix documentation for configuring default_charset [ci skip]Prathamesh Sonpatki2015-12-301-2/+2
| | | | | | | | | | | | | | | | | | | | - Fixes #22836.
* | | | | [ci skip] Put all removals in its sectionAkshay Vishnoi2015-12-301-3/+3
|/ / / /