Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

How do you disable the query cache in rails 4.x?

locking rows on rails update to avoid collisions. (Postgres back end)

What is the purpose of ActiveRecord::Relation#bind?

Rails 5: Add record to join table without model (has_and_belongs_to_many)

How do I sort a table by the maximum value of associated records?

Rails preview update associations without saving to database

Scope with "WHERE ... LIKE" on a related table

Testing a databaseless Rails 5 application with rspec-rails

Rails change column type and update column values

How to select data for defined page and total count of records?

Rails Migration Change vs Up & Down methods

PG::ForeignKeyViolation: ERROR: update or delete on table "xxx" violates foreign key constraint

How to create index on LOWER("users"."username") in Rails (using postgres)

Getting all children of collection with has_many relationship

Using raw sql queries in Rails 3 application?

Can I rollback using change_column method in Rails 4 and above?

Is there a way to combine named scopes into a new named scope?

Rails 3 ActiveModel: cannot include ActiveModel::Model directly

Rails migration create_join_table with uuids

How to make Rails 4.2 work with Postgres Jsonb?