Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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: Good practice to always use ":dependent => :destroy?"

rails - how to subtract one query from another?

Delete rows from different tables in CodeIgniter

how to group record counts by hour of day

rails 4 URI domain bad argument