Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord count of distinct days from created_at?

Why does :dependent => :restrict throw an error?

how to check where mysql dababase exists from rails env?

How to disable tracking of changed attributes in model in active_record

Yii - CActiveDataProvider using relations

php activerecord yii

How to traverse multiple many to many associations in activerecord

has_many :through query with both values

Ruby on Rails - Active Record Query - Return items that only have an image

Combining Active Record group, join, maximum & minimum

How do you output all attributes including attr_accessor attributes?

Passing comma separated list from controller to model

How do I change nil to null before rendering JSON from a Ruby object?

Find all records whose association has a nil association in turn

Rails multiple joins AR query and where clause

rails db schema sql format TypeError: no implicit conversion of nil into String