Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby where with find_each

ActiveRecord where_in() with array [closed]

Migrate JSON column type to HSTORE column type

Active Record Association Type Mismatch

How to update table with column set NULL in codeigniter

Using named_scope with counts of child models

Select all columns by a unique column value in Rails 3

how to get the result of active record insert in CodeIgniter

codeigniter activerecord

Conditional chaining with ActiveRecord

How should I store sorted items in a database?

Automatic rollback without any error?

rails select with includes

rails, activerecord sum then order

accept_nested_attributes_for :allow_destroy, :_destroy not working

Delete all records from all tables in database using seeds.rb

Include Active Storage attachments in Active Record query

How to execute direct SQL code on a different database in Rails

Alternative method for proxy_owner in ActiveRecord

Rails migration gives error when trying to also create a record in the self.up

finder_sql does not parse string with Rails