Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord: Alternative to find_in_batches?

ActiveRecord seems to be validating unchanged child records unnecessarily

How to preview a delete_all or destroy_all query in Rails

connection.select_value only returns strings in postgres with pg gem

ActiveRecord left outer join with and clause

How to set preload scope for Rails Associations::Preloader?

Rails 4.1 - Write to MySQL database without typecasting

How to Get Aggregate Data by Time Slice (sum, avg, min, max, etc.) in Rails 3

Can I execute a raw sql query, leverage prepared statements, and not use ActiveRecord::Relation::QueryAttribute?

How to populate fields in a has_many through join table

multiple database connections with has_many through

Rails 3 How can I allow nested attributes to be passed without the _attributes designation

Rails 4.1 enum raises error instead set object as invalid

Rspec: How to test ActiveRecord::Base.connection.execute

DatingApp programming: ActiveRecord association for finding Users where there are no Approvals or one 1 way approvals

Extending ActiveRecord::Base

after_create called after failed saved?

Rails - Keep a table out of structure.sql during migrations

ActiveRecord: Doesnt call after_initialize when method name is passed as a symbol

ActiveRecord validate :uniqueness on association