Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

What is the best way to set some attributes of Profile model is public(visible) or private(invisible) to other user?

ActiveRecord enum returning nil, even if it has a value

Rails 2.3 session

Rails Migrations: Load default data

Avoiding "Single Table Inheritance" in Rails/ActiveRecord and Legacy Schema

Any Rails plugin to add comments about each column in ActiveRecord migration files?