Order of scopes in ActiveRecord/Rails queries
1.Active Record Query Interface — Ruby on Rails Guides
Description:Active Record will perform queries on the database for you and
is compatible with most database systems (MySQL, PostgreSQL and SQLite to
name a few).
2.Active Record Associations — Ruby on Rails Guides
Description:Active Record Associations. This guide covers the association
features of Active Record. After reading this guide, you will know: How to
declare associations between ...
3.ActiveRecord::Associations::ClassMethods - Ruby on Rails
Description:Specifies a one-to-many association. The following methods for
retrieval and query of collections of associated objects will be added:
collection(force_reload = false)
4.ActiveRecord::Base - Ruby on Rails
Description:Active Record. Active Record objects don't specify their
attributes directly, but rather infer them from the table definition with
which they're linked.
5.Working with Databases: Active Record | The Definitive ...
Description:Tip: Because Active Record relies on the metadata about tables
to determine the column information, it takes time to read the metadata
and analyze it.
6.update_attributes (ActiveRecord::Base) - APIdock
Description:Only attr_accessible attributes will be updated. If your model
specified attr_accessible attributes, only those attributes will be
updated. Use attr_accessible to ...
7.update_all (ActiveRecord::Base) - APIdock
Description:Updates all records with details given if they match a set of
conditions supplied, limits and order can also be supplied. This method
constructs a single SQL UPDATE ...
8.7 Patterns to Refactor Fat ActiveRecord Models - Code ...
Description:When teams use Code Climate to improve the quality of their
Rails applications, they learn to break the habit of allowing models to
get fat. "Fat models" cause ...
9.Riding Rails
Description:Official Ruby on Rails team group blog; essential for learning
of security updates, and overview of full Rails community.
10.Double select from a single table in complex SQL query ...
Description:This is personal blog of Bogdan Gusiev: ruby on rails
developer, open source contributor
No comments:
Post a Comment