Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails: keeping DRY with ActiveRecord models that share similar complex attributes

How can I make an 'OR' statement in ActiveRecord?

Ruby on Rails migration, change table to MyISAM

Custom non auto-incrementing ActiveRecord "id" column possible?

Yii find condition >=

php mysql activerecord yii

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