Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails 3 - How to get the row number from a model with an order by

How to efficiently search for last record matching a condition in Rails and PostgreSQL?

Rails 3 - where clause on has_many through association

Rails has_many :through sum attribute on "child objects" --> SQL Toughy

Batch insert in Yii

activerecord yii insert yii1.x

Show data in table from Rails Console for PostgreSQL

ActiveRecord how to add existing record to association in has_many :through relationship in rails?

Rails 4 how to find the maximum length of a string column

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