- 05 7月, 2014 14 次提交
-
-
由 Sean Griffin 提交于
-
由 David Heinemeier Hansson 提交于
Add a `required` option to singular associations
-
由 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.
-
由 Matthew Draper 提交于
Revert "Use a type object for type casting behavior on SQLite3"
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Remove symbolized_path_parameters.
-
由 Matthew Draper 提交于
Use a type object for type casting behavior on SQLite3
-
由 Rafael Mendonça França 提交于
Add `:all` argument to `count` in `reset_counters` Conflicts: activerecord/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
Improve token_and_options regex and test
-
由 Matthew Draper 提交于
Add arel to the controller template [ci skip]
-
由 Rafael Mendonça França 提交于
Add test coverage for the action mailer
-
由 Matthew Draper 提交于
[ci skip] /javascript/ -> JavaScript - cover whole app
-
- 04 7月, 2014 12 次提交
-
-
由 Matthew Draper 提交于
After find-via-reload, the record is not new
-
由 Rafael Mendonça França 提交于
Do not load rails without loading bundler
-
由 Rafael Mendonça França 提交于
Remove unneccessary special case for money in quoting
-
由 Dmitry Polushkin 提交于
-
由 Matthew Draper 提交于
-
由 Rafael Mendonça França 提交于
Display notice in index.html pages in scaffolded generated views
-
由 Arun Agrawal 提交于
As we are setting notice in destroy action we should display that For more information see https://github.com/rails/rails/pull/14044 And https://github.com/rails/jbuilder/pull/191 closes #14044
-
由 grosser 提交于
-
由 Godfrey Chan 提交于
This has changed since around 2b1500d6
-
由 Akshay Vishnoi 提交于
-
由 Abdelkader Boudih 提交于
-
由 Sean Griffin 提交于
-
- 03 7月, 2014 14 次提交
-
-
由 Rafael Mendonça França 提交于
Fix guide. sample code syntax error.[ci skip]
-
由 tbpgr 提交于
-
由 Rafael Mendonça França 提交于
Do not rely on the column type when quoting infinity
-
由 Rafael Mendonça França 提交于
Use the type object for type casting HStore columns
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Vijay Dev 提交于
[ci skip] Changes some wording to better foreshadow what is coming up later
-
由 Vijay Dev 提交于
Fix typo in comment
-
由 Cade Truitt 提交于
-
由 Cade Truitt 提交于
Prior to this fix, if an association had a scope with a `select`, calls to `reset_counters` would generate invalid SQL and throw: ActiveRecord::StatementInvalid: [$DB_ADAPTER]: wrong number of arguments to function COUNT() References #10710, #13648
-
由 Rafael Mendonça França 提交于
Change the JSON renderer to enforce the 'JS' Content Type
-
由 Guo Xiang Tan 提交于
This pull request is a continuation of https://github.com/rails/rails/commit/925bd975 and https://github.com/rails/rails/commit/8d8ebe3d.
-
由 Lucas Mazza 提交于
The controller can set the response format as 'JSON' before the renderer code be evaluated, so we must replace it when necessary. Fixes #15081
-
由 Godfrey Chan 提交于
-