Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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?

How do I set attributes in an ActiveRecord Object before I save it?

Using Rails Form Helpers with Serialized Custom Classes

Rails - See generated SQL queries in Log files

CodeIgniter MySQL query not working

Rails 3: Difference between Relation.count and Relation.all.count

rails dynamic attributes

Trying to do something with ActiveRecord::Base.connection_pool.with_connection

ActiveRecord raising duplicate key error on simple create