Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Finding records between date range

Add readable field descriptions to ActiveRecord models

Rails 4: alternative for ActiveRecord 'all' as it is now deprecated

How to duplicate a record and its associated records in Ruby on Rails?

rails belongs_to optional but check exists if passed

How to change default validation error messages on belongs_to field

How to get typed results with ActiveRecord::Base.connection.exec_query

What is the difference between foreign_key and primary_key when defining an ActiveRecord association?

Maximum number of associated records

Does LINQ to SQL use the ActiveRecord Pattern?

autosave options in Ruby on Rails

How to JOIN two columns with one serialized data?

Rails 5 ActiveRecord::SerializationTypeMismatch while creating a resource via API

Dynamic direction of ORDER in ActiveRecord query when using a JOIN

Rails Active Records : foreign_key vs references

Rails 4 ActiveRecord::AssociationTypeMismatch

ActiveJob GlobalID and in-memory ActiveRecord objects

In Rails' ActiveRecord, what does a question mark at the end of a method name corresponding to a column do?

Arel - How to coalesce a field and a string literal in an Arel query?