- 11 5月, 2013 1 次提交
-
-
由 Dana Jones 提交于
-
- 18 4月, 2013 1 次提交
-
-
由 Sammy Larbi 提交于
-
- 24 3月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 05 3月, 2013 1 次提交
-
-
由 Yves Senn 提交于
Closes #9483. There are SQL Queries that can't run inside a transaction. Since the Migrator used to wrap all Migrations inside a transaction there was no way to run these queries within a migration. This patch adds `self.disable_ddl_transaction!` to the migration to turn transactions off when necessary.
-
- 01 3月, 2013 1 次提交
-
-
由 Sammy Larbi 提交于
Sometimes you want to create a table without an associated model and test, which is also not a join table. With this commit, you can now do that. Example: rails g migration create_posts title:string or rails g migration CreatePosts title:string This commit also moves the template the model generator uses for the migration to the migration templates folder, as it seems a more sensible place for it now that it is shared code.
-
- 21 2月, 2013 1 次提交
-
-
由 Marc Schütz 提交于
Explain that it doesn't create indices by default and that it also has a block form.
-
- 20 2月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 20 1月, 2013 1 次提交
-
-
由 Lucas Caton 提交于
-
- 30 12月, 2012 2 次提交
-
-
由 Sammy Larbi 提交于
-
由 Sammy Larbi 提交于
-
- 27 12月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
We should mention that the ordering matters with regards to timestamps, and not imply that it's just for uniqueness purposes. Closes #8610.
-
- 22 12月, 2012 1 次提交
-
-
由 Marc-Andre Lafortune 提交于
-
- 08 12月, 2012 1 次提交
-
-
由 Katie Oldaker 提交于
-
- 03 12月, 2012 1 次提交
-
-
由 1334 提交于
-
- 02 12月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
This introduces a bunch of editing/re-writing to the migrations guide. There were a bunch of small changes, and a few larger ones: * mysql does support transactions. * Add a section about db/seeds.rb * Largely re-wrote the first few sections
-
- 30 11月, 2012 1 次提交
-
-
由 Steve Klabnik 提交于
We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
-
- 29 11月, 2012 4 次提交
-
-
由 Steve Klabnik 提交于
Other guides that talk about Active Record specific features include the name of the library in the title, this one should too for consistency.
-
由 Steve Klabnik 提交于
Talked with @fxn about this. Bullet points should have periods at the ends.
-
由 Steve Klabnik 提交于
The wording of these was a bit off, so I fixed them.
-
由 Steve Klabnik 提交于
Most of the guides have a few simple sentences describing what they will show you at the top. This one had a few big paragraphs. I've moved those paragraphs down to an introductory one, and written a new smaller one for the introduction. This makes this guide more consistent with the others.
-
- 16 11月, 2012 1 次提交
-
-
由 Agis Anastasopoulos 提交于
-
- 28 10月, 2012 1 次提交
-
-
由 John Gallagher 提交于
Changed comment section to be more explicit. I had an issue with rolling back a migration and couldn't understand why 'rake db:reset' didn't work.
-
- 17 10月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit f5b9ed4f. REASON: Translation work can not be done in the docrails repository
-
由 Rodrigo Martins 提交于
-
- 14 10月, 2012 1 次提交
-
-
由 Jaime Iniesta 提交于
-
- 11 10月, 2012 1 次提交
-
-
由 Katrina Owen 提交于
This is an attempt to address issue #6939, where an earlier migration added a column to the database, and a later migration uses a model and references that column. When both migrations were run together with `rake db:migrate` the column information in memory still referenced the old table structure. Running the migrations separately fixed this, as a new connection was then established before referencing the model. Explicitly calling `reset_column_information` is a more reliable workaround.
-
- 07 10月, 2012 1 次提交
-
-
由 Joe Fiorini 提交于
-
- 02 10月, 2012 3 次提交
- 22 9月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 18 9月, 2012 9 次提交
-
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
-