Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby activerecord result to array

ruby activerecord

Is this Rails validation thread-safe

Why do ActiveRecord queries from console print sql statements?

How should I merge hash while using 'first_or_create'

Debug Rails Active Record Query

I Don't Understand How to Express a Relationship Between Three Separate Tables

Select Rails objects that include value in array attribute

Order query by day / month / year in rails

Fetch the first record with a foreign key

Group ActiveRecord::Relation By Field Into Hash With Dictionary

What is the best way of preventing the last record in a has_many collection being removed?

model names that causing errors in ruby on rails

Get Current Name Of Callback ActiveRecord Rails

Rails ActiveRecord - is there a way to perform operations on tables without an id?

How do I "reuse" a single bind variable in Arel?

Accessing the associated join model when iterating through a has_many :through association