Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Overriding id on create in ActiveRecord

Rails create or update magic?

Using helpers in model: how do I include helper dependencies?

Converting an array of objects to ActiveRecord::Relation

find() with nil when there are no records

Rails - Validate Presence Of Association?

Rails 5: ActiveRecord OR query

Find all records which have a count of an association greater than zero

ActiveRecord, has_many :through, and Polymorphic Associations

Eager load polymorphic

Find rows with multiple duplicate fields with Active Record, Rails & Postgres

How to do a LIKE query in Arel and Rails?

How can I see the SQL that will be generated by a given ActiveRecord query in Ruby on Rails

Rails: Why does find(id) raise an exception in rails? [duplicate]

ActiveRecord: List columns in table from console

Can you do greater than comparison on a date in a Rails 3 search?

How to list of all the tables defined for the database when using active record?

activerecord

Rails 3: Get Random Record

Rails 4 LIKE query - ActiveRecord adds quotes

How to convert ActiveRecord results into an array of hashes

arrays activerecord hash