Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Order By count(*) from other table in yii 2

php mysql activerecord yii2

CodeIgniter : how to write where_in OR where_in query?

Ruby activerecord with Postgresql adapter can't select OID

Automatically handle missing database connection in ActiveRecord?

Rails ActiveRecord Problem With Complex Join - Select Does Not Work

Rails - combine multiple has_many throughs

Dynamically updating ActiveRecord object attribute

ActiveRecord select with OR and exclusive limit

Rails, how to use a block in where statement

Cannot delete record after using Rails default scope with associations

Yii ActiveRecord - Is there way to update only dirty attributes?

Count of records that are created the same day

Rails :dependent and :delete

Non-rails application with RSpec, ActiveRecord and Factory Girl

Rails: three most recent comments with unique users

Rails Has Two and With Many

Rails use SQL group_by

How to store many optional fields in Rails?

Is there a Rails 3 replacement for subclasses_of?

Ordering of relation based on associated table in rails4