Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

yii2 return ActiveRecord attribute as JSON with other name

php json api activerecord yii2

rails // query by timezone during daytime

Active Record undefined method read_attribute_for_serialization

Unique constraint issue paranoia gem

Activerecord query against array column using wildcard

Activerecord-import getting ArgumentError: Invalid arguments! error

Rails/ActiveRecord: Why does count result in a syntax error when called on my ActiveRecord:Relation?

Talk to data warehouse-style tables with ActiveRecord?

Select, group and sum results from database

Rails after_create callback can't access model's attributes

ActiveRecord Migration & Rake tasks not loading models?

Rails ActiveRecord: HABTM find parameters

How to join across polymorphic tables in one query?

Rails: is it possible to add extra attribute to a has_and_belongs_to_many association?

Syntax to specify limit while generating a model

Passing @object into a rails partial render

How would I use ON DUPLICATE KEY UPDATE in my CodeIgniter model?

Rails 3.1: can't write to column in same migration that adds it

ERROR: must be owner of language plpgsql

Rails dependent which options are possible?