Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails cache ActiveRecord result

Using `assign_attributes` saves `has_many through:` association immediately

Adjustments needed in a Rails app to use Datamapper instead of ActiveRecord

How to coerce type of ActiveRecord attribute returned by :select phrase on joined table?

Standard Rails Gem for storing what User created/updated/deleted any Record?

Is it possible to UPDATE a JOINed table using Codeigniter's Active Record?

How to know when the model is destoyed automatically by a :dependent => :destroy in rails?

ActiveRecord - has_many :through, :dependent => :destroy sql is not correct

rails create table in db dynamically

Multiple table inheritance Rails and activerecord

Codeigniter, error tracking in transaction

Why does ActiveRecord generate parameterized queries for most operations, but not for find_by?

How does one put validations on individual ActiveModel/ActiveRecord objects?

Order model by association attributes

Rails 4 nested attributes and has_many :through associaton in a form

How to Implement a Friendship Model in Rails 3 for a Social Networking Application?

Model an undirected graph in Rails?

Rails - Dynamically build deeply nested objects (Cocoon / nested_form)

What's the best way to include a LIKE clause in a Rails query?

Rails 4 query unique by single attribute