Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

rails belongs_to through via association

Rails create or update Users

Rails caching model variables - how to "force reload"?

Rails params: where did _json come from, and how do I whitelist it's contents?

string vs text using Rails 3.2.* and Postgres - should I always just use text

ActiveStorage hook after analyze

When creating objects, created_at stores microsecond precision that json can't match

Ruby on rails return a string if a model attribute is nil

How to get the count of unsaved associated records? [duplicate]

ruby rails-activerecord

How to execute a query per db connection

Rails 4 validation message: removes "_id" from message

most frequent value in active record coloumn

Sort by either created_at or updated_at (whichever is more recent) Ruby on Rails

How did I get a IrreversibleMigration?

Get all Rails records from an array of IDs

Trying to search by first_name and last_name

Postgresql jsonb (Rails) - query multiple values, via an array, in a single json attribute

Why does ActiveRecord's :include do two queries?

Do ActiveRecord locks have to occur inside a transaction?