Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How does ActiveRecord detect last method call in chain?

Why the 'BINARY' in a SELECT statement?

Multiple Rails ORM

Ruby on Rails - Alternatives to STI?

Rails3 - How do I get all attributes and associations of an ActiveRecord Model?

undefined method `migration_error=' for ActiveRecord::Base:Class

Conditionally validating uniqueness of a boolean in Rails

Postgresql JSON column as HashWithIndifferentAccess

How to override Rails' default migration generator template

Couldn't find Listing with 'id'=all, Search Form

Limit the number of records in table in Rails

Porting complicated has_many relationships to Rails >4.1 (without finder_sql)

ActiveRecord use joins for performance but load all associated records into memory like with includes

How to model a mutual friendship in Rails

Rails 5 select from two different tables and get one result

Any tips on getting Rails to run with an Access back-end?

rails model attributes without corresponding column in db

Dynamic find conditions in active record

testing and establish_connection

Rails: has_many, but also has_one by a different name