Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Yii - echo the last query

Model Validation in Rails to test if a number can be nil or some positive integer

Active Record includes with STI

ActiveRecord destroy_all

What is the difference between a ORM, AR, QB, & DM?

When to use association extensions vs named scopes?

Rails ActiveRecord Find with Date

How do I create the view for the has_one association?

Specifying string fields length on Ruby on Rails

Find records that were created closest to the current date

Rails model with two polymorphic has_many through: associations for object tagging

Manually updating attributes mounted by Carrierwave Uploader

ActiveRecord (Rails): How to do custom (SQL) joins in Rails without an association?

ActiveRecord Using .where() on dirty (unsaved) relations

JSON to ActiveRecord (deserialize)

What is the Rails way to work with polymorphic associations?

ActiveRecord enum error: "is not a valid value"

Adding an attribute to yii2 active record model that is not in database

php activerecord yii2

Lost connection to MySQL server during query on random simple queries

Add save callback to a single ActiveRecord instance, is it possible?