Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

What's the difference between “includes” and “preload” in an ActiveRecord query?

ActiveRecord Join Query and select in Rails

Yii2 How to perform where AND or OR condition grouping?

php mysql activerecord yii yii2

Why isn't self always needed in ruby / rails / activerecord?

Rails ActiveRecord: How do I know if find_or_create_by found or created?

pluralize without count number in rails 4

Multiple databases in Rails

ActiveRecord - querying polymorphic associations

Log the actual SQL query using ActiveRecord with Yii2?

Rails 4: find all records

Rails: uniq vs. distinct

Create an ActiveRecord database table with no :id column?

Rails Object Relationships and JSON Rendering

Model.reset_column_information does not reload columns in rails migration

How to update all when you need callbacks fired?

How do I get ActiveRecord to show the next id (last + 1) in Ruby on Rails?

Rails belongs_to many models [closed]

Rails: Force empty string to NULL in the database

How to specify conditions on joined tables in rails

dependent => destroy on a "has_many through" association