1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
Ryuta Kamizono 1b21d951a9 Prevent extra SET time zone in configure_connection (#28413)
`SET time zone 'value'` is an alias for `SET timezone TO 'value'`.

https://www.postgresql.org/docs/current/static/sql-set.html

So if `variables["timezone"]` is specified, it is enough to
`SET timezone` once.
2017-08-21 18:32:29 +09:00
..
associations Through scope should not be affected by scoping 2017-08-15 21:41:54 +09:00
attribute Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_methods Don't expose write_attribute_without_type_cast 2017-08-16 00:45:58 +09:00
attribute_set Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
coders Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
connection_adapters Prevent extra SET time zone in configure_connection (#28413) 2017-08-21 18:32:29 +09:00
fixture_set Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
locale
locking Change http postgresql.org links to https [ci skip] 2017-07-30 21:52:31 +09:00
migration [ci skip] Postgres --> PostgreSQL 2017-08-08 18:20:44 +09:00
railties Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
relation Merge pull request #30169 from awortham/awortham/awortham/fix-sql-distinct-bug 2017-08-14 18:31:42 -04:00
scoping Through scope should not be affected by scoping 2017-08-15 21:41:54 +09:00
tasks Merge pull request #30159 from allcentury/dump-temp-file-permissions 2017-08-11 17:40:03 -04:00
type Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
type_caster Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
validations Check :scope input in Uniqueness validator 2017-08-13 19:39:55 +03:00
aggregations.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
association_relation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
associations.rb add missing collection.reload documentation [ci skip] 2017-08-08 17:22:15 -04:00
attribute.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_assignment.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_decorators.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_methods.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_mutation_tracker.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attribute_set.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
attributes.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
autosave_association.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
base.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
callbacks.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
collection_cache_key.rb Merge pull request #29848 from kamipo/fix_distinct_count_with_order_and_limit 2017-07-24 14:50:14 -04:00
connection_handling.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
core.rb Fix outdated comment for Core::ClassMethods#=== [ci skip] (#30146) 2017-08-12 18:52:44 +09:00
counter_cache.rb Merge pull request #29765 from lugray/fix_counter_cache 2017-07-24 13:31:28 -04:00
define_callbacks.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
dynamic_matchers.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
enum.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
errors.rb [ci skip] Postgres --> PostgreSQL 2017-08-08 18:20:44 +09:00
explain.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
explain_registry.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
explain_subscriber.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
fixtures.rb Add binary helper method to fixtures. 2017-08-12 18:35:32 +09:00
gem_version.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
inheritance.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
integration.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
internal_metadata.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
legacy_yaml_adapter.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
log_subscriber.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
migration.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
model_schema.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
nested_attributes.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
no_touching.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
null_relation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
persistence.rb Use _relation_for_itself wherever possible 2017-07-26 13:59:14 -04:00
query_cache.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
querying.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
railtie.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
readonly_attributes.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
reflection.rb Through scope should not be affected by scoping 2017-08-15 21:41:54 +09:00
relation.rb Restore to_sql to return only SQL (#29945) 2017-08-18 13:57:52 +09:00
result.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
runtime_registry.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
sanitization.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
schema.rb Prefer formatted number as schema version [ci skip] 2017-08-21 02:05:45 +09:00
schema_dumper.rb Allow table_name_prefix and table_name_suffix have $ 2017-08-04 18:31:14 +00:00
schema_migration.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
scoping.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
secure_token.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
serialization.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
statement_cache.rb Passing klass to StatementCache.new 2017-08-04 02:27:50 +09:00
store.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
suppressor.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
table_metadata.rb Changed join_fk private method to join_foreign_key public method 2017-08-09 11:18:27 +05:30
timestamp.rb [Action Record] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
touch_later.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
transactions.rb Add space 2017-08-16 12:55:29 -04:00
translation.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
type.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
type_caster.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
validations.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
version.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00