Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Why do I get an Unknown Primary Key exception for a join table in Rails 4?

yii2 BaseActiveRecord findAll() conditions greater or less than

php activerecord yii2

Escaping SQL queries in Codeigniter

Running ActiveRecord validations without saving

ruby activerecord

Rails 3 - has_many association not saving (TypeError)

Validates with :if

SQL Injection and ActiveRecord

unsigned int field in a Ruby on Rails migration?

How can I load some ActiveRecord models from a YAML file and save them to the DB?

Pattern matching in rails ( "where column LIKE '%foo%") with Postgres

writing associations for a recursive relationship

missing attribute in activerecord

Get plural version of Rails model name

How to compare null in rails active record query

How to issue a 'find' or 'where' that raises a RecordNotFound

Rails i18n specific error validation formats

Rails includes() LEFT OUTER JOIN with custom ON clause

Activerecord has_many :through through multiple models

Rspec: Transactional fixtures do not work after upgrading to rails 4

Rails method for only returning a single record and throwing an exception when multiple are returned