Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to store RDF graphs within a data storage?

Prepare and execute statements with ActiveRecord using PostgreSQL

How to update a column without loading the object in ActiveRecord

How to test if carrierwave file changed?

activemodel - updating children of object when saving parent

to_json on single value can't be parse back

Rails - handling multiple different time zones on the same request

Active Record - Find and Update (only if object exists)

How to share activerecord models via Ruby Gem

How to eager load roots using ancestry gem with rails?

Rspec tests failing randomly when analysing ActiveRecord objects generated by Mongoid events

How to write a raw sql in rails scope?

Rails & ActiveRecord: DRY use same logic in scope and boolean method

Order by time of day and regardless of date

Update a relation in a scope?

Resolve N + 1 in case of instance dependent scope

CollectionProxy vs AssociationRelation

Postgres Rails Adapter is thinking Bigint/Varchar is Integer - causes exception when saving

Pluck associated model's attribute in Rails query

Weird backticks behaviour in Active Record in CodeIgniter 2.0.3