Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Suppress Rails logging for specific ActiveRecord request

How to convert an exclusive range to inclusive range in Ruby?

Rails 5 DB Migration error

How to replace find by readonly on newer Rails?

How To Skip PaperTrail Version on ActiveRecord Callback

Rails - batch sql query - Primary key not included in the custom select clause

Ruby on Rails: writing a migration to move a column to another table, merge duplicates, then match IDs

How do I avoid the implicit sequence on the id field during rails migration

Accessing a class method from within an Active Record scope?

Compared with non class/module error

CodeIgniter active record query to get rows from one table which relate to at least one row in another table

How to measure ActiveRecord's size on memory?

Rails select distinct association from collection

How to mock the create call for a new ActiveRecord object in RSpec?

Solving A Race Condition When Using find_or_create_by

update_all with a method

Preview activerecord queries in rails console?

Activerecord return objects that match ALL attributes in array