Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How do I set the ActiveRecord query timeout for mysql?

mysql activerecord timeout

Built-in way to convert xml to an ActiveRecord Object in Rails 3?

How to get the current_user in a model observer?

Complex Scope, Rails 3

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