- 01 3月, 2013 24 次提交
-
-
由 Carlos Antonio da Silva 提交于
Support creating a table migration generator 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.
-
由 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.
-
由 Jeremy Kemper 提交于
Removed the bit about `SCRIPT_NAME` handling, since setting `default_url_options[:script_name]` does work correctly. We ran into an issue with it but it was an app bug.
-
由 Jeremy Kemper 提交于
Add some more documentation to the upgrade guide
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Trevor Turk 提交于
-
由 Rafael Mendonça França 提交于
Wrong exception is occured when raising no translatable exception Closes #8617
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Trevor Turk 提交于
-
由 Rafael Mendonça França 提交于
Fix for #9360 content_for regression
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 Trevor Turk 提交于
-
由 José Valim 提交于
-
由 kennyj 提交于
-
- 28 2月, 2013 9 次提交
-
-
由 Carlos Antonio da Silva 提交于
Support PostgreSQL specific column types when using `change_table`. We use `TableDefinition` for `#create_table` and `Table` for `#change_table`. The PostgreSQL sepcific types were only defined on `TableDefinition` so they needed to be added to `Table` as well.
-
由 Yves Senn 提交于
Closes #9480. We use `TableDefinition` for `#create_table` and `Table` for `#change_table`. The PostgreSQL sepcifc types were only defined on `TableDefinition` so I also added them to `Table`.
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
`format: true` does not override existing format constraints.
-
由 Carlos Antonio da Silva 提交于
Keep in sync with 3-2-stable.
-
由 Yves Senn 提交于
Closes #9466. Passing `format: true` used to override the constraints: { format: /json/ } with `/.+/`. This patch only sets the format if there is no constraint present.
-
由 Steve Klabnik 提交于
This reverts commit 408227d9, reversing changes made to dca0b57d.
-
- 27 2月, 2013 7 次提交
-
-
由 José Valim 提交于
-
由 Santiago Pastorino 提交于
Closes #9386
-
由 Carlos Antonio da Silva 提交于
Fix calculation of db_runtime property in ActiveRecord::Railties::ControllerRuntime#cleanup_view_runtime. Previously, after raising ActionView::MissingTemplate, db_runtime was not populated. Closes #9218, Fixes #9215. Conflicts: activerecord/CHANGELOG.md
-
由 Igor 提交于
-
由 Carlos Antonio da Silva 提交于
Remove duplicated number_helper tests in AP. They are already in AS. With 155cd5e6 the number_helpers were moved into AS all the tests were copied over but the tests in AP were not deleted. This is confusing. This removes all duplicated tests and reorganized the tests in AP to only test the functionality, that is added in AP. Also cleanup some of the number helper tests.
-
由 Yves Senn 提交于
* use 1.9 style hash syntax * don't use brances on assert_equal * prefere " over '
-