aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixes broken link in 'Ruby on Rails 2.2 Release Notes' [ci skip]Javier Vidal2016-04-011-1/+1
| |
* | [ci skip] Parameter filter performs regular expression partial matchingAndrew Babichev2016-03-313-1/+5
| |
* | Update how to clear the association cacheSammy Larbi2016-03-281-2/+2
| | | | | | Passing `true` to the association has been deprecated.
* | [skip ci] Update `numericality` validation docsArkadiusz Fal2016-03-281-0/+2
| | | | | | | | Add `:other_than` option documentation.
* | remove old-dead linkMohamad Abras2016-03-271-1/+0
| |
* | Correct typos in "Active Record Query Interface" guideLaura Murphy-Clarkin2016-03-251-19/+19
| |
* | [ci skip] Added missing custom context validationVijay Kumar Agrawal2016-03-241-0/+19
| |
* | Remove reference to unmaintained plugin/gemOlivier Lacan2016-03-231-1/+1
| | | | | | | | | | | | | | | | | | [restful-authentication](https://rubygems.org/gems/restful-authentication/versions/1.2.1) hasn't been updated since September 6th, 2012 so it might not be a great idea to recommend that Rails users try it out. Devise seems like a much more popular and secure solution that automatically resets sessions on sign in and out so it's a great example in this case. /cc @tenderlove @josevalim
* | - Fixed abrupt start of sentence in changelogVipul A M2016-03-221-1/+1
| | | | | | | | [ci skip]
* | guides, sync 5.0 release notes with changelogsYves Senn2016-03-221-3/+38
| | | | | | | | | | | | | | | | [ci skip] Sync AV, AR, AJ, AS, AM changelogs with our 5.0 release notes draft. This is a follow up to c94045d and contains changes made since the release of beta1.
* | guides, sync railties and AP changelogs with 5.0 release notes.Yves Senn2016-03-221-0/+32
| | | | | | | | | | | | | | | | | | | | [ci skip] This updates the 5.0 release notes guide to reflect changes that happened after beta1 has been released. I'll sync the other changelogs later today but I'll push this batch to prevent against cumbersome merge conflicts.
* | update Active Job default adapter [ci skip]yuuji.yaginuma2016-03-222-5/+9
| | | | | | | | Follow up to 625baa69d14881ac49ba2e5c7d9cac4b222d7022
* | remove Rails 4 text from asset pipeline guideScott Bronson2016-03-181-7/+3
| |
* | use rails 5 favicon.ico for rails guidesMohamad Abras2016-03-171-0/+0
| |
* | Document and Match the Rails logger interfaceschneems2016-03-161-2/+16
| | | | | | | | | | | | The logger interface to get all Rails features is not obvious. This change adds documentation on how to assign a logger that will use all Rails features. We are also matching the stdout logging interface to the default logger in bootstrap https://github.com/rails/rails/blob/f5a5988352b165143f0f9d622707c351c1470882/railties/lib/rails/application/bootstrap.rb#L42-L45.
* | Update action_controller_overview.mdSandeep Navghane2016-03-151-1/+1
| |
* | Remove log-related stuff from ActiveSupport::DependenciesAaron Ang2016-03-151-2/+0
| | | | | | | | | | In this patch, all log-related stuff in `ActiveSupport::Dependencies` is removed because the logging is no longer useful.
* | Correct command for generating secret_key_base [ci skip]Wiehann2016-03-141-1/+1
| |
* | add `queue_classic` to list of provide `provider_job_id` [ci skip]yuuji.yaginuma2016-03-141-3/+4
| |
* | add headers to payload list [ci skip]yuuji.yaginuma2016-03-131-0/+4
| | | | | | | | Follow up to #24115.
* | Clarify has_many :dependent option docs [ci skip]Chris Arcand2016-03-111-9/+7
| | | | | | | | | | | | Clarifies the documentation here to mean all options are for when the relation is destroyed; also now reflects the documentation on this same option found in the has_one section.
* | remove obsolete i18n links from guides [ci skip]Greg Molnar2016-03-101-5/+3
| |
* | Remove needless `break;` [ci skip]Ryuta Kamizono2016-03-101-1/+0
| |
* | Remove extra 'the' and unwanted comma [ci skip]Santosh Wadghule2016-03-081-1/+1
| |
* | Remove incorrect Rack documentation exampleJon Moss2016-03-071-2/+2
|/ | | | | | | | | `Sprockets` does not respond to the call method, so I changed the example to use a fake `MyRackApp`. Closes #22579. [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-03-068-31/+31
|\ | | | | | | | | Conflicts: guides/source/association_basics.md
| * [ci skip] Update all guides with `null: false` change in migrationsPrathamesh Sonpatki2016-03-033-23/+23
| | | | | | | | | | | | | | - We no longer add `null: false` for timestamps columns as per rails/rails@a939506. - Followup of https://github.com/rails/docrails/commit/14867b1a9af813b0147bba2ae06675137d61d77b.
| * [ci skip] Update getting started guide for chanages in migrations APIPrathamesh Sonpatki2016-03-031-3/+3
| | | | | | | | | | | | | | | | - We no longer add `null: false` for timestamps columns as per https://github.com/rails/rails/commit/a939506f297b667291480f26fa32a373a18ae06a. - Similarly `references` and `belongs_to` columns no longer mention `index: true` in migration files. It's added by default as per https://github.com/rails/rails/commit/909818b93b8f1bd4d7053a1c5d8135b9b0cbe865.
| * [ci skip] fix json outputMikhail Dieterle2016-02-271-1/+1
| |
| * [ci skip] Remove reference to Rails 4 in the initialization guide.Prathamesh Sonpatki2016-02-262-3/+3
| |
| * [ci skip] fix typosMikhail Dieterle2016-02-141-3/+3
| |
| * [ci skip] Update 'Testing Active Record'yui-knk2016-02-141-1/+1
| | | | | | | | | | | | | | | | | | Follow up 8c629bf463b47643712570d4511a68b9a3da1476. `bundle exec rake test` in 'activerecord' runs tests for * sqlite3 * mysql2 * postgresql
* | remove entry for reverted commit [ci skip]yuuji.yaginuma2016-03-061-3/+0
| | | | | | | | Follow up to ddf4c953ae8d10489e0bfd6008bd76395f6e1267
* | Update the rendering guide to match the current behaviorRafael Mendonça França2016-03-051-10/+9
| | | | | | | | | | | | | | | | In the latest security releases render with a trailing slash no more call render :file. Also add a note about the security implications of using it with user parameters.
* | remove config that are no longer needed in sprockets-rails 3yuuji.yaginuma2016-03-052-2/+2
| | | | | | | | | | `config.assets.raise_runtime_errors` and `config.assets.digest` are enabled by default in sprockets-rails 3.
* | Match Puma 3 startup messages [ci skip]Sam Ruby2016-03-043-8/+8
| |
* | Fix author callback in engines guide [ci skip]Michael Ryan2016-03-041-3/+3
| | | | | | | | | | | | | | | | The `before_save` callback used with `set_author` results in the validation error "Author must exist," due to the change in `belongs_to` behavior introduced by #18937. Use `before_validation` instead.
* | Merge pull request #24021 from y-yagi/add_scaffold_stylesheet_to_guideJon Moss2016-03-031-0/+1
|\ \ | | | | | | add `scaffold_stylesheet` method to guide [ci skip]
| * | add `scaffold_stylesheet` method to guide [ci skip]yuuji.yaginuma2016-03-041-0/+1
| | | | | | | | | | | | `scaffold_stylesheet` was added in #20479.
* | | [ci skip] Make collection caching explicit in guides.Kasper Timm Hansen2016-03-031-15/+6
| | | | | | | | | | | | | | | | | | Since f6e4814 was written we've made collection caching explicit. Thus the documentation is outdated and needs a rewrite.
* | | Change 'a HTTP' to 'an HTTP' [ci skip]Santosh Wadghule2016-03-033-5/+5
|/ /
* | Changed behaviour of timestamps helper by create_table migration generator ↵Mehmet Emin İNAÇ2016-03-031-1/+1
| | | | | | | | [ci skip]
* | Merge pull request #23936 from yui-knk/local_constants_to_be_publicRafael Mendonça França2016-03-011-23/+0
|\ \ | | | | | | | | | Deprecate `Module.local_constants`
| * | Deprecate `Module.local_constants`yui-knk2016-03-011-23/+0
| | | | | | | | | | | | | | | After Ruby 1.9, we can easily get the constants that have been defined locally by `Module.constants(false)`.
* | | Merge pull request #23417 from sgringwe/masterRafael Mendonça França2016-03-011-0/+2
|\ \ \ | | | | | | | | | | | | Add option to error on ignored order or limit
| * | | Add initial support for allowing an error on order or limit of queries being ↵Scott Ringwelski2016-02-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ignored in batches add some documentation and add 4 tests regarding error vs. warning behavior fix a typo when referring to the message go back to default in tests so that ordering is not important. use a constant instead of method. fix assert_nothing_raised call. use self.klass to allow per class configuration remove logger warn assets as that is tested elsewhere. pass error_on_ignore through find_each and find_in_batches also. add blocks to the finds so that the code is actually executed put the setting back to default in an ensure Add a changelog entry
* | | | Merge pull request #23957 from delftswa2016/fix-documentation-stylesheetArthur Nogueira Neves2016-02-291-1/+1
|\ \ \ \ | | | | | | | | | | Fix value of CSS background-color property in Ruby on Rails guide
| * | | | Fix value of CSS background-color property in Rails guideBas van IJzendoorn2016-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change background-color value to transparent, which is the default value of background-color. [ci skip]
* | | | | Fix typos in Action View Overview guideBas van IJzendoorn2016-02-291-5/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | This patch fixes some typos in the Action View Overview section of the Rails guide. [ci skip]
* | | | Fix formatting in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-0/+1
| | | |