Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Optional or Conditional model associations in Rails

Rails 3: Model.all => NoMethodError: undefined method 'accept' for nil:NilClass

Active record query on Many to many relationship

Rails scope where does not equal

Rails migration: is it ok to use 'nil' as the default value for a boolean field?

How to Silence SQLite3 logger in Sinatra with Active Record?

Rails - Find all entries that don't have any children with a specific value

ActiveRecord::UnknownAttributeError

Rails 4 ActiveRecord includes(:model) without its default_scope

Database connection timeout error in postgresql

Rails Engine: Namespacing foreign key references to other models in the same engine

RSpec Matchers When Working With ActiveRecord::Relation

How to get all the associated models from ActiveRecord object?

Rails 4.2 concern content ignored in test environment

Rescue PG::UndefinedTable instead of ActiveRecord::StatementInvalid

Remove the reference id from the record when the owner is deleted

Rails where clause when something is stored as array

Rails/ActiveRecord Group by month+year with counts

Rails - update_column and ActiveRecord enum

How to typecast a join column in Arel