Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Specify fields to exclude from Rails query result

Rails where with multiple conditions

Validate max amount af associated objects

Find all posts with more than a defined number of comments

ActiveRecord syntax for finding all items with an average rating of x or greater when using a join

Not case sensitive search with active record

Ruby/Rails - Access a "lookup" table without modeling it?

Rails reports can't find a column that is there

Rails ActiveRecord: Getting the id of a raw insert

Any reason to not create indexes on foreign key columns in ActiveRecord?

Yii2 : How to validate XSS (Cross Site Scripting) in form / model input?

Rails find by has_many :through

How to get record which have min has_many rec ords(joins data)

Rails Pagination without Gem

How can I make a cascade deletion in a one_to_many relationship in Rails ActiveRecord?

Rails: ActiveRecord and send; how do I set an activerecord instance's relation with only knowing the class names?

Active record. Model.Find.last

Activerecord Group by ENUM

PG::Error: ERROR: zero-length delimited identifier at or near """"

Rails ActiveRecord: Pluck from multiple tables with same column name