Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

To validate or not to validate boolean field

Replacing ActiveRecord::ConnectionAdapters::ConnectionManagement in ActiveRecord 5

ORM/DAO/DataMapper/ActiveRecord/TableGateway differences?

Rails 3 ActiveRecord eager loading of scope

Implementing Abstract Base Model Class, the Rails Way™

Tool to convert SQL syntax to ActiveRecord query

How to run validations of sub-class in Single Table Inheritance?

cannot load such file -- 1.9/bcrypt_ext (LoadError)

custom error message for inclusion validation

Testing ActiveRecord models inside a gem?

Missing touch option in Rails has_many relation

Rails - only find records where has_many associated records are present

How to test ActiveRecord callbacks with RSpec?

Rails: Has and belongs to many (HABTM) -- create association without creating other records

activerecord where clause on relation belongs_to

What Does This Rails4 error mean? fatal: exception reentered ... `rescue in rollback_active_record_state!'

Use Rails' select() to add (not overwrite) selected attributes?

Ruby on Rails find_by case insensitive

ActiveRecord talk to two databases?

How do I test if an ActiveRecord attribute is an Enum?