Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Disable ActiveRecord in Ruby on Rails 5

active record where not doesn't include nil

How to define the sequence to use when creating a table in ActiveRecord migration in Ruby on Rails 5.2?

Can ActiveRecord connect to PostgreSQL remotely and protect the DB password?

Rails How to get all the grandchildren of an ojbect

Foreign key (class_id) not populating in belongs_to association

How to insert records using select in codeigniter active record

Code igniter MySQL AES with active records?

Rails: If Foo has_many :bars, do all :bars need to belong_to a Foo?

How to build a good API on top of a bad database?

Count rows in DB where

Create multiple Rails ActiveRecord records in one call/query

Rails multiple fields to one model attribute

Rails 3.1 named_scope

Rails 3 activerecord children of children records

using WHERE clause in Rails 3 active record query

Ruby on Rails: How to do a query on a table having two foreign key references with ActiveRecord

after_commit not getting called after update_all

Rails meta_search gem: sort by count of an associated model

ActiveRecord 3.1.0 multiple databases

ruby activerecord