Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails - Update object from params

How can I load Globalize translation fixtures to test models?

Explanation of the @ variables inside Rails models

Getting count of elements by `created_at` by day in a given month

How to validate a price (money amount) mySql decimal column in Yii?

activerecord validation yii

Yii condition <IS NULL>

Custom Association Method - Can This Be Done

Problems with clone method in Rails 3.2

RoR models don't seem to act like a Ruby class?

How to add active record validation errors inside custom setter?

Single Table Inheritance (STI) parent ActiveRecord .subclasses .descendants returns empty

finding parent in rails polymorphic association

ActiveRecord not saving after updating attribute

Rails 4: select multiple attributes from a model instance

rails 3 - difference between widget.save and widget.save!

where is rails installed on Ubuntu

Rails ActiveRelation to hash

active record query depending on count of associated objects

Rails activerecord LIKE AND clause error

Yii: Select 20 last entries order by id ASC

php mysql sql activerecord yii