Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Rails ignores association scope when pre-caching with includes

How do you do eager loading with limits?

Find Staff in Child Departments - PHP

Rails ActiveRecord Migrations similar in Node/ExpressJs

Rails after_save callback being called multiple times