1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Merge pull request #1233 from wonda-tea-coffee/fix-typo

fix typo
This commit is contained in:
Sean 2021-06-25 13:53:43 +02:00 committed by GitHub
commit a37e755143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -200,7 +200,7 @@
ignored when block parameter is specified.
PR [#818](https://github.com/activerecord-hackery/ransack/pull/818).
* No need pass some arugments to JoinAssociation#join_constraints in Rails 5.1.
* No need pass some arguments to JoinAssociation#join_constraints in Rails 5.1.
PR [#814](https://github.com/activerecord-hackery/ransack/pull/814).
Fixes [#807](https://github.com/activerecord-hackery/ransack/issues/807).
Reference [rails/rails#28267](https://github.com/rails/rails/pull/28267)

View file

@ -282,7 +282,7 @@ See this feature: https://www.postgresql.org/docs/13/queries-order.html
#### Case Insensitive Sorting in PostgreSQL
In order to request PostgresSQL to do a case insensitive sort for all string columns of a model at once, Ransack can be extended by using this approach:
In order to request PostgreSQL to do a case insensitive sort for all string columns of a model at once, Ransack can be extended by using this approach:
```ruby
module RansackObject

View file

@ -70,7 +70,7 @@ module Ransack
end
# ransack_scope_skip_sanitize_args, by default, returns an empty array.
# i.e. use the sanitize_scope_args setting to determin if args should be converted.
# i.e. use the sanitize_scope_args setting to determine if args should be converted.
# For overriding with a list of scopes which should be passed the args as-is.
#
def ransackable_scopes_skip_sanitize_args

View file

@ -17,7 +17,7 @@ module Polyamorous
expect(subject).not_to eq new_join_association(reflection, parent.children, Article)
end
it 'leaves the orginal reflection intact for thread safety' do
it 'leaves the original reflection intact for thread safety' do
reflection.instance_variable_set(:@klass, Article)
join_association
.swapping_reflection_klass(reflection, Person) do |new_reflection|