Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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?

Rails transaction: save data in multiple models

How do I create many-one relationships using Scaffold?

How can execute multiple statements in one query with Rails?

Rails Activerecord/Postgres time format

Why are Rails model association results not naturally ActiveRecord::Relations?