Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Is it possible to make ActiveRecord create objects for rows loaded using the :joins option?

ActiveRecord Join table for legacy Database

efficient bulk update rails database

belongs_to with a custom class_name not producing proper foreign key in Rails 3

How do I delete multiple records with dependent records in ActiveRecord

How to format values before saving to database in rails 3

get count in relation table in yii2 Activerecord

php activerecord yii yii2

How to perform an active record search based on a regular expression

How to avoid crashing Rails app after removing column from table?

How to access a variable that was created in a transaction?

How to save something to the database after failed ActiveRecord validations?

Making Rails #destroy_all run faster

How to save data with has_many :through

Rails - how to select all records by ID range

Active Model Forbidden attributes error

Undefined method each Ruby

Memoization & caching in Ruby & Ruby on Rails

How do you iterate over active record objects in Ruby On Rails?

Could not find the association, Rails 3

Rails 3.1 engine rake db:test:prepare task missing