Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Can I convert model with one of its associations to YAML format?

Yii2 viaTable join condition

php mysql join activerecord yii2

Return duplicate records (activerecord, postgres)

Rails PostgreSQL sort by integer value of string

Is there a default english translation file for Active Record?

Rspec Mocking: ActiveRecord::AssociationTypeMismatch

multiple belongs_to relationships between two classes in Rails

Homebrew / TinyTDS / FreeTDS bundle error

Need to use add_index on migration for belongs_to/has_many relationship? (Rails 3.2, Active Record)

join two tables to get data rails 4

Rails .where(.... and ....) Searching for two values of the same attribute

Why is ActiveRecord::Base#update_attributes deprecated?

How to update value of a Model's attribute

Rails: Cannot have a has_many :through association before association is defined

Rails: get a specific number of random records

Yii - How to use conditions like where and limit

activerecord yii

Rails ActiveRecord sort by count of join table associations

Mysql 5.7 json datatype, query with activerecord in Rails 5

rails ActiveRecord find in console

Is Repository pattern as same as Active Record pattern?