Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Cannot access attr_accessor defined variables

Select only one column from multiple rows in codeigniter. How to and is this more efficient?

has_many and :after_add / :before_add => callback for << and create methods

Convert ActiveRecord habtm query to Arel

Rails 4 .order() gets mangled with JOINS

Ordering by specific value in Activerecord

Yii - echo the last query

Model Validation in Rails to test if a number can be nil or some positive integer

Active Record includes with STI

ActiveRecord destroy_all

What is the difference between a ORM, AR, QB, & DM?

When to use association extensions vs named scopes?

Rails ActiveRecord Find with Date

How do I create the view for the has_one association?

Specifying string fields length on Ruby on Rails

Find records that were created closest to the current date

Rails model with two polymorphic has_many through: associations for object tagging

Manually updating attributes mounted by Carrierwave Uploader

ActiveRecord (Rails): How to do custom (SQL) joins in Rails without an association?

ActiveRecord Using .where() on dirty (unsaved) relations