Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to establish_connection with more than one database in parallel in Rails?

Table name corruption errors in ActiveRecord

Is it OK to specify a schema in `table_name_prefix`?

How to make attribute setter send value through SQL function

Multiple database connections: schema_migrations is looked up in the wrong database

Rails: How do I get only the saved models with .collection?

Given a record and order conditions, find record(s) after or before

Rails Postgres reconnection on failover for RDS

rails 5 has_many through order on through table

Rails add_index algorithm: :concurrently still causes database lock up during migration

Rails: join with multiple conditions

serious stuck on: validations not triggered for nested resource with fields_for

Where to put validations when following a DCI design?

Rails 4 ActiveRecord throws PG::UnableToSend on Ubuntu 13.04

Yii2 ActiveRecord mocking with Mockery

Does the DataMapper pattern break MVC?

prepared statements in rails/activerecord

ActiveRecord WHERE NOT EXISTS

activerecord

How to create a model without primary key in rails?

Create a table in rails and add foreign key constraint