Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Postgresql and ActiveRecord where: Regex matching

Yii2: How to set default attribute values in ActiveRecord?

Remove a 'where' clause from an ActiveRecord::Relation

Rails callback for the equivalent of "after_new"

Checking if ActiveRecord find returns a result

query where date = Date.today with Rails, MySQL, and Active Record

Sum on multiple columns with Activerecord

How to set transaction isolation level using ActiveRecord connection?

How do I specify shared attributes translations between models in I18n locale file?

get a list of all models from rails [duplicate]

Codeigniter Active record: greater than statement

Applying a different order to postgres "DISTINCT ON" using rails

Rails invalid datetime on model results in nil

"NoMethodError (undefined method `with_indifferent_access' for..." when passing it nested attributes

Rails: Multiple or conditions in ActiveRecord

Why does Sidekiq not close old connections?

Why does Rails ignore a Rollback in a (pseudo)nested transaction?

Cannot add foreign key constraint error when running rails migration

Rails 3 has_many :through naming issue

How to find the record with the maximum price?