| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
Refactor the type casting of booleans in MySQL
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove checks against `column.type` in abstract adapter quoting
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The intention is to eventually remove `column` from the arguments list
both for `quote` and for `type_cast` entirely. This is the first step
to that end.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Add missing test case for quoting behavior
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It appears that the only time that `quote` is called with a column,
but without first calling `type_cast` is when where is called with an
array. My previous pull request broke this behavior, without failing
tests. This adds a test for the only case I can think of that exercises
the `if column.type == :integer` branch of `quote` effectively.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add an interface for type objects to control Ruby => SQL
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Adds the ability to save custom types, which type cast to non-primitive
ruby objects.
|
| | | | | | |
|
| |_|_|_|/
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove duplicated to_s method call.
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Fix test cases for inflector.rb
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`yield` was missing in #with_dup, due to which 57 assertions were not running
in real, and all tests were passing by default.
Error was introduced in commit - 31ceb5e.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
simple solution that brings rake stats task to all rails project
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
remove unused variable warning.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`warning: assigned but unused variable - album`
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Remove unnecessary flatten! method call.
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
[ci skip] Update GFM link in guides guidelines.
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Also remove a duplicated sentence.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Convert source to string if it is present.
|
| |/ / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
The correct status to test should be :switching_protocols.
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Remove unnecessary require of Minitest.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Minitest has already been required when calling Minitest.autorun.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Unwrap Constraints objects. I don't actually think it's possible
to pass a Constraints object to this constructor, but there were
multiple places that kept testing children of this object. I
*think* they were just being defensive, but I have no idea.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip]
|
| | | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
I don't know when this changed, checked back up to 3.2 and integration
tests instantiate fixtures just fine.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Improve readability of Explain Queries table in guides
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
rake stats for engines
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
documentation link fix and removing unused reader
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fixed capitalization [ci skip]
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | | |
avoid using alias in generators
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Ruby's alias produces public methods, causing a spurious Thor task
to be created. For example, this is the reason MigrationGenerator
currently has two tasks:
> ActiveRecord::Generators::MigrationGenerator.all_tasks.keys
=> ["singular_name", "create_migration_file"]
singular_name was meant to be an attribute, not a task. Because it's
public, it gets called as a task every time the generator is invoked.
The fix is to ensure all generator methods have the correct
visibility.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
[Guides] Add documentation for using Rails with a reverse proxy [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes URL generation with trailing_slash: true
Conflicts:
actionpack/lib/action_dispatch/http/url.rb
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
URL generation with trailing_slash: true was adding a trailing slash
after .:format
Routes.draw do
resources :bars
end
bars_url(trailing_slash: true, format: 'json')
# => /bars.json/
This commit removes that extra trailing slash
|
| | | | | | | |
|