| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | | |
https://github.com/seattlerb/minitest/commit/9a57c520ceac76abfe6105866f8548a94eb357b6#L15R8
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove code duplication
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Extract tests code out from AR's base_test.rb
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The method got extracted out from AR::Base in commit
d916c62cfc7c59ab6411407a05b946d3dd7535e9, but the tests never did.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
base_test.rb
The method itself got extracted out from ActiveRecored::Base in commit
ceb33f84933639d3b61aac62e5e71fd087ab65ed, but the test code never did.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The methods got moved to core.rb in commit
b2c9ce341a1c907041f55461aefebb0321280cb5, but the tests never did.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add ActiveModel requirement to application.rb
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently, ActiveModel is only loaded by ActiveRecord. If you skip ActiveRecord, ActiveModel will not be required (or even autoloaded) and including `ActiveModel::Model` into a plain Ruby class will raise `NameError`.
To reproduce this:
- create a new app with `rails new my_app -O`
- create a Ruby class that includes `ActiveModel::Model` in `app/models`
- load up a Rails console and try to do anything with the class :-)
Since ActionPack relies so heavily on the ActiveModel API, this should probably be considered a dependency of the app. Another possibility would be to make it a dependency of ActionController.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
http://tenderlovemaking.com/2013/05/21/one-danger-of-freedom-patches.html
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* bindwhere:
avoid creating a set if no where values are removed
remove bind values for where clauses that were removed
push partitioning up so bind elimination can get the removed wheres
push partion logic down and initialization logic up
partition the where values so we can access the removed ones
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
the rake task `db:test:prepare` needs to load the configuration
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Without loading the configuration the task will not perform any work.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Use @total variable created in the setup of batches tests instead of counting again.
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Post.count
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
the time
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Spelling correction in Upgrading Guide [ci skip]
|
|/ / / / /
| | | | |
| | | | | |
Fixes spelling of 'erratta' to 'errata'
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix ActionMailer testcase break with mail 2.5.4.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix wrong `case_sensitive` in uniqueness validity test
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix typo in test name and documentation
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Missing ending ``` at 14.2 Merging of scopes
|
|/ / / / / /
| | | | | |
| | | | | | |
http://edgeguides.rubyonrails.org/active_record_querying.html#merging-of-scopes
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
"normalize_callback_params" doesn't require name param
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
in inflectors"
This reverts commit 8f901dee9e2072dd20e0a252a89dd501d783d85b.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
inflector method classify"
This reverts commit 8d5fcb691e7496900f1c77dff8d6e729c1b56201.
Reason: Changelogs are not to be edited in docrails.
[ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit e47c85c696de1c4137c222bedc846b2cdbb0893f.
Reason: Let's not nodoc without reason.
[ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 328e876a1569058e47eaf7ea3f4f045a83b585fa.
Reason: Let's not nodoc without reason.
[ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit dfb69f2b8a85586ad70071baba416747cbb07364.
Reason: Let's not nodoc without reason.
[ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
method classify
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ActionMailer templates that are not plain text do not require *.text.* in the name and will fail to be picked up automatically if it is included in the name.
|