Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed behaviour of timestamps helper by create_table migration generator ↵ | Mehmet Emin İNAÇ | 2016-03-03 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Fixed grammatical errors in rails docs [ci skip] | Matt Michnal | 2016-02-09 | 1 | -2/+2 |
| | | | | | | Fixed errors in rails migrations docs [ci skip] Fixed errors in rails security docs [ci skip] | ||||
* | use bin/rails default instead of rake commands [ci skip] | Gaurav Sharma | 2016-01-19 | 1 | -7/+7 |
| | | | 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 …` | ||||
* | Refer to rails command instead of rake in a bunch of places | David Heinemeier Hansson | 2015-12-18 | 1 | -15/+15 |
| | | | | Still more to do. Please assist! | ||||
* | Use a real migration version number in docs | Matthew Draper | 2015-12-15 | 1 | -19/+19 |
| | | | | | Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable. | ||||
* | Use a deliberately-invalid migration version in all doc examples | Matthew Draper | 2015-12-15 | 1 | -19/+19 |
| | | | | | | | | | | If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above. | ||||
* | Issue #22139 : Edge Guides - ActiveRecord Migrations - Remove required ↵ | atul-shimpi | 2015-11-01 | 1 | -2/+0 |
| | | | | option for column | ||||
* | Update active_record_migrations.md | Anna Ershova | 2015-10-15 | 1 | -1/+1 |
| | | | Add 'db/'; corrects structure.rb to structure.sql | ||||
* | Clarifies db can be set up from structure.sql also | AnnaErshova | 2015-10-15 | 1 | -1/+1 |
| | | | | | | | | I added that *structure.sql* file can be used when *db:reset* is run. *db:reset* tasks states *db:reset* loads database from *db/schema.rb* or *db/structure.sql* depending on the configuration (although *db/schema.rb* is the default), hence the change. | ||||
* | [ci skip] Update what methods `Migration#change` can reverse | yui-knk | 2015-08-31 | 1 | -14/+21 |
| | | | | | | | | | | * Documentations and comments about what methods `Migration#change` can reverse is out of date. For example `change_column_default` is now reversible by this [commit](https://github.com/rails/rails/pull/20018). * Comments about `CommandRecorder` dose not match with Rails Guide. For example `add_foreign_key` is listed only on Rails Guide. | ||||
* | [ci skip] Fix migration file's timestamp | yui-knk | 2015-08-24 | 1 | -1/+1 |
| | | | | In rails generally migration file's timestamp is "YYYYMMDDHHMMSS". | ||||
* | [ci skip] Give in-depth explanation of migrations vs. seeds.rb | Brooks Reese | 2015-08-08 | 1 | -4/+9 |
| | |||||
* | [ci skip] migration and association guides: added some remarks about join tables | r11runner | 2015-08-04 | 1 | -10/+8 |
| | |||||
* | fix pluralization in doc [ci skip] | Jordon Dornbos | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | Update guide for new change_column_default syntax | Prem Sichanugrist | 2015-06-26 | 1 | -6/+8 |
| | |||||
* | fix doc about foreign key name [ci skip] | yuuji.yaginuma | 2015-06-12 | 1 | -1/+2 |
| | | | | this behavior was changed in b8e1f202676b4788c56241b124c401beff9f4014 | ||||
* | [ci skip] Improve phrasing in AR migrations docs. | Tim Wade | 2015-05-13 | 1 | -2/+2 |
| | | | | | | * insert 'and' into a poorly formed sentence. * avoid using 'reverse' twice in the same sentence (which would indicate the opposite of what is meant) | ||||
* | [ci skip] fix guides example on arbitrary SQL execution | Konstantinos Rousis | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Documenting remove_column as a reversible migration method [ci skip] | Andrey Nering | 2015-03-25 | 1 | -0/+8 |
| | |||||
* | Change 'a' to 'an' for 'HABTM' word [ci skip] | Santosh Wadghule | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | [ci skip] Change `the null` to `a not null constraint` | yui-knk | 2015-03-22 | 1 | -1/+1 |
| | |||||
* | add foreign_key option to result of references column type [ci skip] | yuuji.yaginuma | 2015-03-19 | 1 | -1/+1 |
| | |||||
* | Improvements about schema dumping [ci skip] | Andrey Nering | 2015-01-29 | 1 | -5/+10 |
| | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Add `null` option to timestamps as migration generator does [ci skip] | Zachary Scott | 2014-12-14 | 1 | -3/+3 |
| | |||||
* | Add guides for `required` model generator option. | Carlos Souza | 2014-12-09 | 1 | -0/+2 |
| | | | | | | Related to this PR #16062 [ci skip] | ||||
* | AR Migrations Guide#Foreign Keys: fix wrong table | Jon Atack | 2014-10-24 | 1 | -1/+1 |
| | | | [skip ci] | ||||
* | Tiny follow-up to 1a69112 | Robin Dupret | 2014-06-27 | 1 | -3/+7 |
| | | | | | | | Wrap list items to 80 chars and avoid relying on NOTE inside an item since they are meant to be parsed in paragraphs, not lists. [ci skip] | ||||
* | fk: add docs | Yves Senn | 2014-06-26 | 1 | -58/+71 |
| | |||||
* | :nail_care: wrap the tip from #15624 at 80 chars [ci skip] | Zachary Scott | 2014-06-20 | 1 | -1/+2 |
| | |||||
* | [ci skip] Add Tip for change_column_null and change_column_default in guides | Aditya Kapoor | 2014-06-21 | 1 | -0/+2 |
| | |||||
* | docs, refactor docs about column modifiers. [ci skip] [Matthew Draper & Yves ↵ | Yves Senn | 2014-06-10 | 1 | -12/+20 |
| | | | | | | | | | | | | | | | | | | | | Senn] This is a follow up to #15602 which rendered the guides in a weird state: > You can also specify some options just after the field type between curly braces. You can use the following modifiers: > `null` Allows or disallows `NULL` values in the column. > NOTE: `null` and `default` cannot be specified via command line. The modifiers are now moved into a separate section. The generator simply referes to that section. Related to #15583. /cc @JuanitoFatas | ||||
* | [ci skip] Rename: Rails Database Migration to Active Record Migration. | Juanito Fatas | 2014-06-10 | 1 | -0/+988 |
This will need to setup permanent redirect for the old guide. |