Flowdock

135 results found for "{query"

clear

(ActiveRecord::Associations::CollectionProxy, >= v3.1.0 <= v6.1.3.1)
Importance_1_sm

difference is that returns self, instead of an array with the deleted objects, so methods can be chained. See delete_all for more information. Note that because delete_all removes records by directly running an SQL query into the database, the updated_at column of the object is not changed.

ActiveRecord::StaleObjectError

Importance_1_sm

Raised on attempt to save stale record. Record is stale when it’s being saved in another query after instantiation, for example, when two users edit the same wiki page and one starts editing and saves the page before the other. Read more about optimistic locking in ActiveRecord::Locking module documentation.

ActiveRecord::ExplainRegistry

Importance_1_sm

This is a thread locals registry for EXPLAIN. For example returns the collected queries local to the current thread. See the documentation of ActiveSupport::PerThreadRegistry for further details.

cleanup_view_runtime

(ActionController::Instrumentation, >= v3.0.0 <= v6.1.3.1)
Importance_1_sm

A hook which allows you to clean up any time, wrongly taken into account in views, like database querying time.

columns_for_distinct

(ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements, >= v4.2.1 <= v6.1.3.1)
Importance_1_sm

PostgreSQL requires the ORDER BY columns in the select list for distinct queries, and requires that the ORDER BY include the distinct column.

execute

(ActiveRecord::ConnectionAdapters::DatabaseStatements, >= v1.0.0 <= v6.1.3.1)
Importance_1_sm

Executes the SQL statement in the context of this connection and returns the raw result from the connection adapter. Note: depending on your database connector, the result returned by this method may be manually memory managed. Consider using the exec_query wrapper instead.

filename

(ActiveStorage::Blob, >= v5.2.3 <= v6.1.3.1)
Importance_1_sm

Returns an ActiveStorage::Filename instance of the filename that can be queried for basename, extension, and a sanitized version of the filename that’s safe to use in URLs.

execute

(ActiveRecord::ConnectionAdapters::PostgreSQL::DatabaseStatements, >= v4.2.1 <= v6.1.3.1)
Importance_1_sm

Executes an SQL statement, returning a PG::Result object on success or raising a PG::Error exception otherwise. Note: the PG::Result object is manually memory managed; if you don’t need it specifically, you may want consider the exec_query wrapper.

ActiveRecord::QueryMethods::WhereChain

Importance_1_sm

WhereChain objects act as placeholder for queries in which #where does not have any parameter. In this case, #where must be chained with #not to return a new relation.

locked?

(ActiveRecord::ConnectionAdapters::QueryCache, >= v3.2.8 <= v6.1.3.1)
Importance_1_sm

If arel is locked this is a SELECT … FOR UPDATE or somesuch. Such queries should not be cached.

ignored_columns

(ActiveRecord::ModelSchema::ClassMethods, >= v5.1.7 <= v6.1.3.1)
Importance_1_sm

The list of columns names the model should ignore. Ignored columns won’t have attribute accessors defined, and won’t be referenced in SQL queries.

ignored_columns=

(ActiveRecord::ModelSchema::ClassMethods, >= v5.1.7 <= v6.1.3.1)
Importance_1_sm

Sets the columns names the model should ignore. Ignored columns won’t have attribute accessors defined, and won’t be referenced in SQL queries.

scopes

(ActiveRecord::Reflection::AbstractReflection, >= v5.1.7 <= v6.1.3.1)
Importance_1_sm

Returns a list of scopes that should be applied for this Reflection object when querying the database.

join_to_update

(ActiveRecord::ConnectionAdapters, >= v5.0.0.1 <= v5.2.3)
Importance_1_sm

In the simple case, MySQL allows us to place JOINs directly into the UPDATE query. However, this does not allow for LIMIT, OFFSET and ORDER. To support these, we must use a subquery.

compute_asset_path

(ActionView::Helpers::AssetUrlHelper, >= v4.0.2 <= v6.1.3.1)
Importance_1_sm

Computes asset path to public directory. Plugins and extensions can override this method to point to custom assets or generate digested paths or query strings.

cache

(ActiveRecord::QueryCache::ClassMethods, >= v2.3.2 <= v6.1.3.1)
Importance_1_sm

Enable the query cache within the block if Active Record is configured. If it’s not, it will execute the given block.

define_attribute_methods

(ActiveRecord::AttributeMethods::ClassMethods, >= v2.0.3 <= v6.1.3.1)
Importance_1_sm

Generates all the attribute related methods for columns in the database accessors, mutators and query methods.

uncached

(ActiveRecord::QueryCache::ClassMethods, >= v2.3.2 <= v6.1.3.1)
Importance_1_sm

Disable the query cache within the block if Active Record is configured. If it’s not, it will execute the given block.

clear_association_scope_cache

(ActiveRecord::Reflection::ThroughReflection, >= v5.0.0.1 <= v6.1.3.1)
Importance_1_sm

This is for clearing cache on the reflection. Useful for tests that need to compare SQL queries on associations.

clear_association_scope_cache

(ActiveRecord::Reflection::AssociationReflection, >= v5.0.0.1 <= v6.1.3.1)
Importance_1_sm

This is for clearing cache on the reflection. Useful for tests that need to compare SQL queries on associations.

exec_explain

(ActiveRecord::Explain, >= v3.2.1 <= v6.1.3.1)
Importance_1_sm

Makes the adapter execute EXPLAIN for the tuples of queries and bindings. Returns a formatted string ready to be logged.

active?

(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter, >= v1.0.0 <= v6.1.3.1)
Importance_1_sm

Is this connection alive and ready for queries?

to_param

(ActionController::Parameters, >= v5.1.7 <= v6.1.3.1)
Importance_1_sm

Alias for ActionController::Parameters#to_query

has_named_route?

(ActionDispatch::Routing::Mapper::Base, >= v4.0.2 <= v6.0.0)
Importance_1_sm

Query if the following named route was already defined.

query

(ActionView::PathResolver, >= v3.0.0 <= v6.1.3.1)
Importance_0_sm

query

(ActionView::FixtureResolver, >= v3.0.0 <= v6.0.0)
Importance_0_sm

query

(ActiveRecord::ConnectionAdapters::DatabaseStatements, >= v5.1.7 <= v6.1.3.1)
Importance_0_sm

query

(ActionView::NullResolver, >= v3.0.0 <= v6.1.3.1)
Importance_0_sm

queries

(ActiveRecord::PredicateBuilder::AssociationQueryValue, >= v5.2.3 <= v6.1.3.1)
Importance_0_sm

queries

(ActiveRecord::PredicateBuilder::PolymorphicArrayValue, >= v5.2.3 <= v6.1.3.1)
Importance_0_sm