aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Getting Started Guide: Update Ruby version to 2.3.0p0Francis Go2016-01-291-1/+1
|
* Docs review of api_app.mdJon Moss2016-01-281-16/+19
| | | | | | | | Pass through correcting api_app.md. The list of included modules and middleware was tested through a sample API app, and was listed in the same order an end user would see in their terminal. [ci skip]
* Remove Rack::Lock from the API guidesRafael Mendonça França2016-01-281-4/+0
| | | | | | It is not always there anymore [ci skip]
* Middleware have no pluralRafael Mendonça França2016-01-281-14/+14
| | | | [ci skip]
* Mark API guide as work in progressRafael Mendonça França2016-01-281-0/+1
| | | | The documentation team didn't reviewed it yet so it can't be published.
* Put "Using Rails for API-only Applications" in table of contentsPiotr Jakubowski2016-01-281-0/+4
| | | | | | | | When I was looking for more info regarding this the only way I ended up on that page was by googling something along the lines of "rails new api" (as I wanted to find out what are the proper parameters when generating api app). I think it's beneficial to have that page in table of contents.
* Merge pull request #23237 from gsamokovarov/new-welcome-pageDavid Heinemeier Hansson2016-01-281-0/+0
|\ | | | | Introduce new welcome page for new projects
| * Introduce new welcome page for new projectsGenadi Samokovarov2016-01-261-0/+0
| | | | | | | | As requested by David in 23233.
* | English explanation to multi-level nested joinCollin Graves2016-01-271-0/+2
| | | | | | Added an "Or, in English..." explanation to the "Joining Nested Associations (Multiple Level)" example.
* | Fix typos in asset_pipeline.mdDjoume Salvetti2016-01-271-3/+3
| |
* | remove duplication section [ci skip]Aditya Kapoor2016-01-271-4/+0
|/
* 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