Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to map the field name to a custom name in Codigniter's select_sum() function?

Rails 4 "where"-query with "has_many belongs_to"-relationship, searching with specific count

Rails 5: Adding conditional custom validations

Rails App Won't Start in Production Environment because of ActiveRecord

CodeIgniter's distinct() method behaves unexpectedly with `get_where()` versus `get()` [closed]

Rails Model With Aggregrate Data (not backed by a table)

how to insert into multiple tables in rails

Use foreign key as part of composite key

how to differentiate searched or created by first_or_create

Where does Kaminari calculate it's page url links?

activerecord-sqlserver-adapter unicode slow performance

Postgres schema for Users & Approving Users for a Dating style app

Convert SQL containing WHERE equals, multiple LIKE conditions, ORDER BY, LIMIT and OFFSET into CodeIgniter's active record

ActiveRecord::AssociationTypeMismatch in Controller#create on dropdown select for a Rails self join

why can't i use parentheses in codeigniter join query

Handling Unique Validation with Status Accepted

How to get records from multiple condition from a same column through associated table