- 03 9月, 2014 1 次提交
-
-
由 Yasuo Honda 提交于
Since 'drop table if exists' statement does not always work with some databases such as Oracle.
-
- 05 7月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
In addition to defining the association, a `required` association will also have its presence validated. Before: ```ruby belongs_to :account validates_presence_of :account ``` After: ```ruby belongs_to :account, required: true ``` This helps to draw a distinction between types of validations, since validations on associations are generally for data integrity purposes, and aren't usually set through form inputs.
-