Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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?

has_many :through, not reloaded/reset

Can I tell activerecord to not convert "datetime" data to objects when I access?

ActiveRecord errors, how do I find out the locale path to change the messages?

Rails query timestamp between two hours

match all in active record relations in a query

Different behavior between multi-line vs. in-line block