Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Merge 2 relations on OR instead of AND

ActiveRecord has_many with custom foreign key sql expression

Rails 3: ActiveRecord query with :includes only returns results that have related values in included table?

ActiveRecord destroy_all throws StatementInvalid

Refactoring Fat ActiveRecord Model, What Now?

Any Rails scaffold data types that generate radio buttons in the _form.html.erb?

ActiveRecord Rails 4, how to look if array attribute contains any of values in array

Handle MySQL Failover(master/slave role switch) with activerecord in rails application

ActiveRecord serialization problem

ActiveRecord association with country_code:string instead of country_id

Rails/ActiveRecord: Return order with ActiveRecord#find(Array)

How to inherit only the connection of an ActiveRecord Model in Rails 4.0

Accessing model attributes in ActiveSupport::Concern module