Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Does Ruby on Rails have a way to import an existing database schema?

Rails 3 ActiveRecord API: .build method

How to disable the Rails association counter_cache at runtime

ruby on rails dynamic attribute fields from DB using method_missing issues

Rails ActiveRecord builds wrong foreign key if there are two belongs_to relationships to same model

select distinct records based on one field while keeping other fields intact

Core Data inconsistency - fetch sometimes returns nothing

Is it possible to ask for only certain columns from an ActiveRecord association?

Yii2: Use scopes of realtion in with() of ActiveRecord

php activerecord scope yii2

ActiveRecord::QueryCache#call taking over 70% of execution time

Why/ when to check for Object.persisted? versus Object.save

Rails belongs_to not validating id when optional

ActiveRecord models cached in rake tasks?

ActiveRecord Find - Skipping Records or Getting Every Nth Record

Rails 3 Active Record Calculations: Sum and Average at the same time

Rails Model inheritance in forms

How to get the arel table of a habtm association?

Rails attr_readonly doesn't work

ActiveRecord converts symbol keys to strings when serializing my hash

Triggering dependent: :destroy with overridden destroy-method