Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

ActiveRecord test Greater/Lesser Than inside Hash Condition

Old and new values for an attribute in ActiveRecord validation

Escape an '@' character in a SQL query / ActiveRecord

sql activerecord

Rails way for multi product types shopping cart