Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

rails Multiple models in a single file

Build vs new in Rails 4

When does ActiveRecord establish connections?

Update multiple rows with one query in rails

E-commerce product filter db design

Yii2: get raw sql of model->save()

php activerecord yii yii2

Rails: Calling Model methods in to_json(:methods => [:model_method])

How should I use Rails to index and query a join table?

Rails 4 after_save previous_changes not working

Modelling stock considering orders in Rails

Shouldn't Rails find_by_ methods return an empty array instead of nil?

Bulk upsert with Ruby on Rails

Ruby/ActiveRecord not detecting changes after stripping whitespace from field

mysql ruby activerecord

No possibility to update model attributes with a block syntax?

Postgres JSON field update with ActiveRecord

Rails: `includes` a `has_many` relation with `limit`

Find records with multiple foreign key values in Rails

Know what event triggered the after_commit of an ActiveRecord model

rails active record has_many foreign key after custom function

Rails Active Record Instance Variables