Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

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?

Using WHERE IN with Rails prepared statement syntax

Should I test associations between models?

Delete records from table which matches the data in an array?

Rails exec_query bindings ignored

undefined method `explain' for #<ActiveRecord::ConnectionAdapters::MysqlAdapter

Saving ActiveRecord's associations which are pointing to each other, at once

Rails uniq Public Activity