Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Rails 5.2: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s) [duplicate]

Rails | Add condition in join query

Change 'ORDER BY' Chain on ActiveRecord Subset

Naming SQL queries in Rails / ActiveRecord

Rails app. Collect items from several models and show this paginated list of items on main page

Custom fields in Rails that act as a template for future entries

Checking if activerecord is locked in "updating" status

What is the difference between using ? and % when sanitizing fields in ActiveRecord?

Rails - view turning complete white after refreshed or visited several times

"first!" on AR CollectionProxy raises "undefined method [] for nil" after updating from Rails 4.1.4 to 4.2.0

Why does rails specify primary key id manually in the insert statement?

Query common Groups between two Users

Convert database constraints to Rails validations

Rails ActiveRecord string field encoding vs Ruby String encoding

Using Rails find_or_create_by with form objects

Rails: Share enum declaration values between models

Multiple where conditions in Rails

How to combine two scopes with OR

rails < 4.0 "try" method throwing NoMethodError?