Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Query and order by number of matches in JSON array

Order by count on has_many relation

Why ActiveRecord::Base.connected? is false, after calling establish_connection

ruby testing activerecord

PHP activerecord mysql server has gone away

undefined method `includes' for object instance

Rails ActiveRecord Includes with Inner Join

Ruby on Rails ActiveRecord: pluralization

How to build a JSON response made up of multiple models in Rails

Ruby on Rails -- undo mark_for_destruction

Rails group/having/count query

Custom scope on has_many, :through association (Rails 4)

Validate on inclusion within array of options OR be nil

Rails model "before_filter"?

Rails transaction not rolling back

Retrieve data from junction table in Yii2

php mysql activerecord yii2

Rails Query group and pluck to Return Array of IDs grouped by another attribute?

Is there a java implementation of the ActiveRecord pattern that is built on top of Hibernate, similar to Castle Windsor? [closed]

ActiveRecord::UnknownAttributeError?

How to test a method on an ActiveRecord::Relation object in rspec?

what would happen if you use belongs_to without having a corresponding has_one?