Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

What is the best way to set some attributes of Profile model is public(visible) or private(invisible) to other user?

ActiveRecord enum returning nil, even if it has a value

Rails 2.3 session

Rails Migrations: Load default data

Avoiding "Single Table Inheritance" in Rails/ActiveRecord and Legacy Schema

Any Rails plugin to add comments about each column in ActiveRecord migration files?

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